Jump to content

Get All Accepted Currencies In Editsettings


Wouter

Recommended Posts

Hello,

 

I'm currently developing a non merchant gateway for Blesta, where I can't get the following implemented:

 

The gateway where I'm developing this for requires currencies to be activated (manually, by contract), and I'd like to check this when the user is saving the settings (in the `editSettings` function). Now: What is the best way to receive the accepted currency? I've tried to get the gateway ID but this doesn't seems to work (by overriding the `setGatewayId` function), so I was able to get the currencies through `getCurrencies` in the `Gateway Manager`.

 

Is there any other way instead just writing a query manually like through the Gateway Manager or something?

 

Thanks,

Wouter 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...