#axe_best-practices

1 messages ยท Page 1 of 1 (latest)

solid socketBOT
#

๐Ÿ‘‹ 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/1503493792638959666

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

median blaze
#

Hello
I'm not sure I fully grasp your usecase

#

Adaptive pricing lets users pay in their localized currency but when you create a Price, there's still a currency you'd pick

Are you asking how you can show both the currencies on your product page?

north helm
#

Supabase as an example.

Let's say products are declared in USD in the stripe dashboard with the amounts shown in the image and the green call-to-action buttons link to an embedded stripe checkout with adaptive pricing. If a user visits this page in the UK, can I show them the price in GBP (ยฃ) that stripe will use in the embedded checkout in my own site's price comparison?

median blaze
#

Ah, no - I don't believe that's something Stripe APIs can help with. You can geolocate the customer yourself and guess the currency to show an estimate price but we don't have any API endpoints that can geolocate the customer and present the local prices

#

I guess you can use the FX Rate API to get an estimated conversion

#

but geolocating the customer is something you'd need to do yourself

north helm
#

Ok so there's always a chance that Stripe's calculation of the final local price will be different from what I can calculate

solid socketBOT
median blaze
north helm
#

Ok, thanks for clarifying ๐Ÿ‘.

median blaze
#

Happy to help!