#seb_unexpected
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/1237363414104412191
π Have more to share? Add more details, code, screenshots, videos, etc. below.
Do you have an example cs_xxx ID I can look at where iDEAL isn't available?
Taking a look
Let me provide some extra details:
If we do not provide customer id (i.e. a new user), Stripe auto-detects the currency (i.e. euro) and shows the "Ideal" payment method (I tested this with a VPN set to Netherlands). But if we do provide a customer id, currency USD is shown and "Ideal" is not shown as a payment option
This happened for one of our customers in live mode - but I have recreated the setup in test mode as well where the "issue" is also present
Yeah the session is localising to USD because that is the default current on the price_xxx you're passing: https://dashboard.stripe.com/test/prices/price_1Nri1VATqmUvIGSptecZGIKQ
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
This is the feature: https://docs.stripe.com/payments/checkout/multi-currency-prices
It should use EUR for customers located in countries where that is the native currency. In the example you shared, the customer (cus_MrKp5QW7X4RwIy) has a default USD currency so it uses that
Why does this customer have a default USD currency? Is that something the customer has chosen themselves?
For our live customer I believe their address should be netherlands, but I can check
Their address is in the Netherlands and they have previously paid with Euro
Why does it default to USD for that customer?
Who is 'they'?
I need an example ID or something
Checking
OK, the currency on the customer is not the issue I don't think
This is the problem:
If Checkout canβt localise the currency because the relevant currency option or tax_behavior is missing, the Session presents to the customer in the default currency. The default currency must be the same across all prices, shipping rates, and discounts.
https://docs.stripe.com/payments/checkout/multi-currency-prices#supported-integrations
price_1Nri1VATqmUvIGSptecZGIKQ has tax_behavior: 'unspecified' and as you're using Stripe Tax, it'll fallback to the default option (USD) as opposed to localising to EUR
It is set to "auto". And in the payload I also set : automatic_tax = { enabled: true };
Hmm, thinking
The only think I change is in one request I provide customer email. In the other I provide customer id. With customer id the correct currency and "Ideal" is not shown
In your test mode, can you try and force the session locale via the currency parameter? https://docs.stripe.com/payments/checkout/multi-currency-prices#specify-currency
I will try
I think it's because the cus_xxx you've provided are set to USD for some reason
Works if I force it
then Ideal is shown
So if I set currency: eur then Ideal is shown
Yeah it's because the customer currency is USD, which I think is wrong. Checkout seems to be setting the default wrong when it should be EUR. Can you try and create a new session for me without passing customer parameter and then share the cus_xxx ID Checkout creates?
Sure
one sec
So I should set my VPN, and actually "pay" (with dummy card) in test mode?
Should I set my address to somewhere in the Netherlands?
Or I guess just paying in euro should do the trick?
If the session is in EUR then just complete it with a test card (doesn't matter about iDEAL at this point)
I want to see the cus_xxx in generates from the EUR session and what currency it sets
OK, that has currency: 'eur'. Weird
Can you try a new session with that cus_xxx now?
Yes, I will do that
Yea, seems like it appears now
Isn't it weird that the currency was set to "USD" for the other customer I sent you? When they paid in Euro?
OK, so the issue is specifically with the other 2 cus_xxx
Yea it seems like it. At least now when I create customer in test mode and pay with euro it seems like the currency is properly set
To confirm, the primary concern is with cus_OsAgvCjLf8fG5b which is a livemode customer?
Yes - that is the primary concern. Of course we fear that this happens for all of our customers (who wants to resubscribe, pay in euro, and with their preferred payment methods)
To confirm, this is primarily an issue with customer's who have had an old subscription is a non-EUR currency?
Yes, that might be the case
So you think that it might be because we updated our tax settings, and this would only happen to older customers?
Unrelated to the tax settings β ignore that. The likelihood is it's because they subscribed prior in USD which 'locks' the customer to that currency
But the customer I just sent you - they subscribed in Euro
and they are still locked in USD
Yeah I think that is an edge case
We're gonna have to take a deep look at why that happened in that specific case with the Checkout team. Can you write in to my team and we can relay any updates directly there: https://support.stripe.com/contact/email?topic=api_integration
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
It seems that it's only impacting that one existing customer and not any new customers, right?
Well I thought we just verified it didn't? π
The behaviour in test/live should be the same
Yea, you are right π
But it was in test mode
But yea,
Let me just double check with a recent customer
As I said, behaviour should be the same. Feel free to share any more specific examples in the email
Yea you are right
Should I send an email explaining everything again with examples and everything?
A short summary would be fine, and you can link to this thread. It should come directly to my team so I can pick it up
Also another question - is there a way that I can manually update the user's currency such that they would be able to pay with "Ideal"? We still have this one customer who isnt able to pay
will do
You can in the Dashboard: https://support.stripe.com/questions/setting-a-customers-default-currency
I think you'll need to cancel the 'incomplete' subscription first
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Alright thanks a lot @plain lantern
No problem, glad I could help!