Hi,
I’m having a problem figuring out how to create a checkout page in the shop’s currency:
The shop is placed in Iceland (IS) where the currency is ISK. The customer is placed in Denmark (DK) where the currency is DKK. An invoice has already been issued for the amount of 12000 ISK. I need to customer to be able to pay 12000 ISK.
From the documentation:
country - The two-letter ISO 3166-1 ALPHA-2 code for the country. Uppercase.
currency - Three-letter ISO 4217 code for the currency used in fields that represent monetary amounts. Uppercase.
I expected the country to be the customers country DK and the currency to be the one I what to be paid (ISK)
When I try to start the checkout page this way:
{
"amount":12000,
"country":"DK",
"currency":"ISK"
}
I’m getting an error:
{
"error_code":"ERROR_HOSTED_PAGE_COUNTRY_CURRENCY_MISMATCH",
"status":"ERROR",
"message":"The request tried to create a checkout page, but there is no payment method that is supported in the country for the currency provided. The request was rejected. Corrective action: Use a different currency or country.",
}
I have tried different things, e.g.:
{
"amount":12000,
"country":"DK",
"currency":"DKK",
"requested_currency":"ISK",
"fixed_side":"buy",
"metadata":{"merchant_currency_only":true}
}
But that getting me another error:
{“error_code”:“ERROR_HOSTED_PAGE_COUNTRY_CURRENCY_MISMATCH”,“status”:“ERROR”,“message”:"The request tried to create a checkout page, but there is no payment method that is supported in the country for the currency provided. The request was rejected. Corrective action: Use a different currency or country.}
Have I misunderstood what country to send - is the country the customers or just the primary country for the currency that I want to issue a payment for?
Is it all possible to have a customer pay in another currency than the currency of the customers home country?