#seb_unexpected

1 messages Β· Page 1 of 1 (latest)

autumn elkBOT
#

πŸ‘‹ 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.

plain lantern
#

Do you have an example cs_xxx ID I can look at where iDEAL isn't available?

real wave
#

Just the id?

#

cs_test_b1fLjys07aTU6iJQsmBNstKH9k7yFuViNzfATV7SwP34P7HV5DxOoUJwgV

plain lantern
#

Taking a look

real wave
#

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

plain lantern
#

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

real wave
#

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?

plain lantern
#

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

#

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

real wave
#

Ok, that is very valuable - thank you

#

Do you know what I should use as tax_behavior?

plain lantern
real wave
#

It is set to "auto". And in the payload I also set : automatic_tax = { enabled: true };

plain lantern
#

Hmm, thinking

real wave
#

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

plain lantern
real wave
#

I will try

plain lantern
real wave
#

Works if I force it

#

then Ideal is shown

#

So if I set currency: eur then Ideal is shown

plain lantern
real wave
#

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?

plain lantern
#

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

real wave
#

Okay, one sec

#

cus_Q3uV9UDFPqIFgt
It created this customer

plain lantern
#

OK, that has currency: 'eur'. Weird

#

Can you try a new session with that cus_xxx now?

real wave
#

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?

plain lantern
#

OK, so the issue is specifically with the other 2 cus_xxx

real wave
#

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

plain lantern
#

To confirm, the primary concern is with cus_OsAgvCjLf8fG5b which is a livemode customer?

real wave
#

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)

plain lantern
#

To confirm, this is primarily an issue with customer's who have had an old subscription is a non-EUR currency?

real wave
#

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?

plain lantern
#

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

real wave
#

But the customer I just sent you - they subscribed in Euro

#

and they are still locked in USD

plain lantern
#

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

#

It seems that it's only impacting that one existing customer and not any new customers, right?

real wave
#

I don't know actually

#

I can check if it happens to new customers as well

plain lantern
#

The behaviour in test/live should be the same

real wave
#

Yea, you are right πŸ˜„

#

But it was in test mode

#

But yea,

#

Let me just double check with a recent customer

plain lantern
#

As I said, behaviour should be the same. Feel free to share any more specific examples in the email

real wave
#

Yea you are right

#

Should I send an email explaining everything again with examples and everything?

plain lantern
#

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

real wave
#

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

plain lantern
# real wave Also another question - is there a way that I can manually update the user's cur...

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

real wave
#

Alright thanks a lot @plain lantern

plain lantern
#

No problem, glad I could help!