#letscheckthis_code

1 messages ยท Page 1 of 1 (latest)

rustic juniperBOT
#

๐Ÿ‘‹ 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/1417866333491564574

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

fresh flume
#

Hey there, I'm not sure why this payment description used french, as that doesn't correspond to the customer location/locale I can see. I'm going to keep looking into this.

#

While I do that, I would recommend not relying deeply on text description fields like this in your integration

#

Alrighty, we did indentify an issue related to this that should now be resolved. This was unexpected and unless the locale is set in more expected ways, you should continue to see this description in english only.

warm shoal
#

so, just to confirm, even if the locale of the browser is set to french, we will still get the description in English, right?

rustic juniperBOT
ionic lava
#

Hi taking over here

#

Browser locale will set the locale on the session and hence the description

#

So if the browser is set to french, you will get description in french

#

The issue here was that browser was actually set to English but you got description in French

#

That has since been fixed

warm shoal
#

I just tried setting my browser locale to french and I still get the transaction description in English, here is the payment id pi_3S8MYuJGtlvk1doh0pc5rpbW
To set the browser locale i open chrome dev tools -> 3 dots next to Console -> sensors -> Location -> Other and set locale to fr-FR. From this guide https://stackoverflow.com/questions/37221494/how-to-change-the-locale-in-chrome-browser
It should be picking it up because i can see our website translated in French.

ionic lava
#

Hm weird

#

I'm seeing that it recognizes browser locale

#

But then still sets locale to en on checkout

warm shoal
#

I am sorry for being such a pain in the back ๐Ÿ˜„

ionic lava
#

So I think this would actually be a separate issue

#

Because payment intent description localization comes from the checkout session locale

#

And the checkout session locale was set to English here

#

But your browser locale was set to French, so the piece that sets locale on Checkout Session is what's behaving unexpectedly here

#

Oh wait

#

You have locale set to en on the pricing table

#

So browser locale won't matter. That takes precedence

warm shoal
#

oh great, so the description should always be in English, even with a French locale, right? That initial transaction that I sent you was some temporary glitch that you fixed?

ionic lava
#

Yes correct

#

I always forget that you have to pick a language with pricing tables

warm shoal
#

Thank you so much!

#

Have a wonderful day!