#damian_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1457726310859145399
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ This is likely due to Adaptive Pricing https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing so the currencies displayed will be based on the user's location
Lots more info on this in the link above
just tested with an IP of canda and also provides EUR and USD
orderNumber=260105alODiH8UIt
Do you have the checkout session ID for that one? e.g. cs_123123123
"id" : "cs_live_a1yNrxHEKGZFYeK9CIdu5jmZNFux5sY3PdANcMcHz9YY2Tr6AZghK66qiM",
Hi there ๐ I'm jumping in as my teammate needed to step away. Thanks for sharing that ID, please bear with me while I take a closer look.
thanks Toby!
I see you're passing price_data.currency in the creation request for that Checkout Session, so this one isn't using our multicurrency prices. Instead it looks like this is using Adaptive Pricing.
so the tag has price_data.currency has to be change for default_currency?
Huh?
so we have to remove the tag price_data.currency? so it only appears the currency provided in the request?
our doubt is how we modify the request so it only appears the currency we are sending in the request
Ah, if you want to disable Adaptive Pricing, then you'll want to set adaptive_pricing.enabled to false in your Checkout Session creation request:
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-adaptive_pricing-enabled
thank you!