#joe_best-practices

1 messages ¡ Page 1 of 1 (latest)

lost echoBOT
#

👋 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/1220325833575497742

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

soft etherBOT
static ermine
#

Hi, let me help you with this.

#

You can do some basic customization when you create the Stripe Pricing Table on the Dashboard.
However, if you need more, you would probably need to build it yourself.

#

For the currency, what do you mean exactly? Converting the currency based on the customer location?

tall matrix
#

Yes, exactly that - converting currency based on the customer location. Or at least so the price is aligned to the price they'll see on the stripe checkout page

static ermine
#

Do you have automatic currency coversion on Stripe Checkout?

tall matrix
#

We have 4 currencies set and the rest are on automatic currency conversion

static ermine
#

Yeah, that's the benefit of using the Stripe Pricing table.
You will probably have do build something on your own - detect the browser country and convert the currency - but there's no guarantee it will be accurate, unfortunately.
Alternatively, you can preview the price in your default currency, which will be converted into the customer's currency as they get onto the Checkout Session.

tall matrix
#

Got it - I assume it's not possible to extract this info from the iFrame due to the CORS related issues?

static ermine
#

Not, unfortunately.

tall matrix
#

Okay thanks for that so we either need to use the stripe pricing table if we want stripe to handle localising the currency to our users location, otherwise we need to identify the location of our users ourselves and build a custom interface

static ermine
#

Correct.

tall matrix
#

Does Stripe use IP to identify a customers location? I ask just so I can ensure our process aligns to stripe so the pricing is consistent

static ermine
#

I don't know exactly and it's subject to change. It's probably a combination of browser settings and IP.

tall matrix
#

got it - thanks so much for that I really appreciate it

static ermine
#

Happy to help.