#rodan28
1 messages · Page 1 of 1 (latest)
Hi, let me help you with this.
What do you mean by "select Germany in pricing" exactly?
So in our fronted we have pricing tables but I don’t know user billing details
When users clicks price from pricing table he is redirect to stripe checkout
And when he select in billing Germany I want to change price from usd to euro
You mean when they select the country on the Checkout page?
I want to make impossible to buy subscription in usd for people from Germany. Everyone from Germany billing address need price in euro
Yes
Or there any other options?
I don't think you can change the Price ID of a line item during the Checkout Session, you will either need to use automatic currency conversion or use currency_options: https://stripe.com/docs/api/prices/object#price_object-currency_options
Ok, I added price with usd and second currency eur, but the price still is only in usd
Could you please share the Checkout Session URL?
Right now I cannot, I am using different VM
It’s not enough. So I cannot set currency based on billing details country?
You would then need to collect country information before going to Stripe Checkout.