#Neil

1 messages · Page 1 of 1 (latest)

subtle novaBOT
blazing moon
#

Hi there!

#

You are using Checkout Session to create subscriptions?

#

What do you mean by "select the currency to default"?

warm robin
#

if someone (new customer) is looking to subscribe they will prefer to see the price in their native currency. We'll have set up several in Stripe. But don't know which one to offer them.

#

yes checkout session.

blazing moon
warm robin
#

We have multi-currency prices, so "Checkout displays prices that you set in the relevant currency based on your customer’s location." is what we want.

#

But we need to know what that "relevant currency" will be on the page (on our site) before Checkout, as we need to explain our subscription options along with pricing.

blazing moon
#

Got it! Give me a few minutes to look into this.

subtle novaBOT
idle echo
#

Hey! Taking over for my colleague. Let me catch up.

#

But we need to know what that "relevant currency" will be on the page (on our site) before Checkout
You mean before the merchant navigate to the Checkout Session or after they complete the Checkout session here?

warm robin
#

before and during the checkout session. If I understand correctly, Checkout does some sort of lookup on the browser's locale to determine what their 'native currency' is and offer them that currency if we have defined a Price for it.

#

We need to understand and replicate that lookup functionality on our pricing page so we can show the same price/currency.

idle echo
#

No you can't, that's an internal process. you can detect the used currency only post checkout (when the checkout is completed).

#

And in all cases, you can't know in advance what is the ip of the customer that will opens the Checkout Session...

warm robin
#

The user has to visit our subscription options page, that is the only page with the buttons to start the checkout session, and that options page could use javascript to decide which currency to offer the user.

idle echo
#

Ok, but I don't think that's the only criteria for detecting the "relevant currency" when displaying Checkout Session, and there isn't a way to detect that pre loading the checkout session AFAIK.

warm robin
#

So what can we show the user? We have to tell them what our various packages are, and we have to tell them a price for each package.

idle echo
#

You display the packages with your preferred currency and then let the customer decides, to pay with that currency or use their local currency displayed in the Checkout Sesison by Stripe

warm robin
#

that's not a user-friendly solution 😦
Your docs say "Prospective customers might abandon the checkout flow when prices aren’t presented in their local currency"
and I agree!

#

Are we trying to do something weird? What is everyone else doing?

idle echo
warm robin
#

That's quite a user-experience reduction, seems a waste given Stripe have spent so much effort in sorting this out once the user enters the Checkout process.

#

You must have many customers doing this, unless I am trying to do something unusual?

subtle novaBOT
sharp forum
#

it's not unusual really. For example you could use something like a GeoIP library to get the location of the user and you have a mapping of country to currency(like US->USD; FR-EUR; JP->JPY and so on) and you can use that to decide what to show on your site.

warm robin
#

As that involves some assumptions/guesswork I would want it to be exactly the same as your logic.

#

Also seems a waste given you've already implemented it, and you have many customers who could use it and have had to knock up their own implementations that are probably not as good.

sharp forum
#

I agree it would be nice if we exposed an API to somehow take a concept of a user on your site and tell you what currencies to use, but that's not really built yet

#

instead the way we approach is you should use our PricingTable and Checkout components and they do all this for you(or will, as they evolve)

warm robin
#

Ah, I read that page and thought you had that feature for a long time.

#

When did multi-currency prices launch?

sharp forum
#

recently too I think

warm robin
#

ah ok, thanks.

#

That link on pricing tables looks to be heading where we want

#

I guess this just works with multi-currency prices.

#

Thanks.