less than a minute read • Updated 8 minutes ago
Set up per-currency payment gateway credentials
How to configure separate gateway credentials for each currency when your payment gateway requires one set of credentials per currency.
Some payment gateways support multiple currencies on a single account, in which case no extra setup is needed. Others require a separate set of credentials (username, password, ID, transaction key, and so on) per currency. For those, enter your credentials as JSON keyed by currency code.
How to set it up
json
{"USD": "x39gA5Me2K", "GBP": "9s77FvP6ts"}Notes
Wrap every value in double quotes, even if the value is an integer.
If the cart's currency has no match in your credential string (for example, the cart is in SGD but you only listed USD and GBP), Foxy uses the first value in the list.
The string must be valid JSON and cannot exceed 500 characters.
Not all gateways support multicurrency. Check the supported gateways list, and contact us if yours isn't listed.