#shubhamjha

1 messages · Page 1 of 1 (latest)

upper waspBOT
umbral perch
thin ocean
#

yr i did it in my product but how can i use it in my code please guide me

#

i have a price id with multiple currencies , now how can i implemented in my code for checkout page

umbral perch
#

The Doc above has all the steps!

thin ocean
#

but it show only one currency

#

how it will automatically chnges ?

umbral perch
#

If you configure the Price correctly (as the Doc), then when you view this Checkout Session on different location you would see different currencies

#

You can use the API to test what your Checkout Sessions look like for customers in different countries.

In the Checkout Session creation method, pass in a customer_email that includes a suffix of the form +location_XX in the local part of the email. XX must be a valid two-letter ISO country code.