I am trying to create a solution that can allow paying for invoices using FX.
Here is my use case:
I have a software company based in Europe and I only accept EUR. I have a customer from the US who wants to create a subscription and they have a payment method that only supports US dollars, for example, us_debit_visa_card. I have created a plan for the subscription:
{
“currency”: “EUR”,
“interval”: “month”,
“amount”: 1199,
“product”: “product_06fe6578a21b3597044899b570905176”,
“aggregate_usage”: “sum”,
“billing_scheme”: “per_unit”,
“nickname”: “Amazing Software plan”,
“trial_period_days”: 0,
“usage_type”: “licensed”
}
Now when I try to create the subscription for the US-based customer, I get this error:
{
error_code: ‘ERROR_PAYMENT_METHOD_TYPE_CURRENCY_DOES_NOT_MATCH_PLAN’,
status: ‘ERROR’,
message: ‘The request tried to set a payment method for a subscription, but the payment method does not support the currency in the plan for a subscription item. The request was rejected. Corrective action: Choose a payment method that supports the currency of the subscription item.’,
response_code: ‘ERROR_PAYMENT_METHOD_TYPE_CURRENCY_DOES_NOT_MATCH_PLAN’,
operation_id: ‘29bb39f9-7121-4d26-909a-aac5d032af06’
}
Any pointers on how I should integrate payment with FX here to solve this?
Thank you!