#Equilibrium
1 messages · Page 1 of 1 (latest)
If using the Payment Element, the best thing to do is to detect the customer's currency via the browser and create the payment intent with that currency
There's not an automatic solution with the Payment Element specifically
If using Checkout, you could do: https://support.stripe.com/questions/automatic-currency-conversion
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
It seems easier when using the checkout, and thank you for the link
Our case is the "Payment element" - we were thinking of adding a currency dropdown ( your solution of detecting it is good too ). does that mean we have to use some API to convert the USD price to EUR for example before creating a payment intent with EUR currency?
const USDCost = 5;
const EURCost = USDCost * CONVERSION_VARIABLE;
stripeInstance.paymentIntents.create({
currency: "EUR",
amount: EURCost,
});
No worries, do you have any additional pointers regarding this point? I just want to confirm that its the correct approach for our use case and In case you know any 3rd party API Stripe's customers use for conversion
I would very much appreciate that
Unfortunately I don't have a recommendation to give on that as I'm not sure what many folks use
You'd need to do the research on it
Well noted, and the manual conversion approach is the way to go? just to confirm it
If using Payment Element, yes