#an2one_payment-element-locale

1 messages ยท Page 1 of 1 (latest)

gilded monolithBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1246008578146304000

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

worthy mantle
#

hello! give us a while to look into this!

gilded monolithBOT
steady bone
#

Hi

Info modal's payment terms text has not been translated to Italian. The rest content of the modal has been translated. How to fix it?
What is the local of your browser ?

steady bone
#

Stripe Element pickes the local of the browser

cunning tree
#

There is no polish in the modal, Most of the text is translated to Italian and the text below about terms is in english. Moreover every different locale works as expected.

cunning tree
steady bone
#

Can you share a screenshot please ?

steady bone
cunning tree
steady bone
#

I see, can you try the solution I shared above ?

cunning tree
steady bone
#

Are you using the latest Stripe SDK in your frontend ?

cunning tree
#

"dependencies": {
"@stripe/react-stripe-js": "^2.7.1",
"@stripe/stripe-js": "^1.53.0",
}

Do you need entire package.json?

steady bone
#

Let me check those versions

#

Not able to reproduce neither

#

Do you have a hosted page for your website that we can reproduce ?

cunning tree
#

We've got production page but it's not available right now because of internal reasons, maybe I can provide you needed information in different way? Do you need more code or DOM structure?

steady bone
cunning tree
#

Working on that

steady bone
#

Great, now you need to find the difference between that and your integration

#

Are you forcing the locale elsewhere in your integration ?

gilded monolithBOT
#

an2one_payment-element-locale

cunning tree
noble belfry
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

#

would you mind sharing the PaymentIntent ID you're using?

cunning tree
#

It would be better not sharing but if it's inpossible to reproduce without it let's share

noble belfry
#

it's just an ID, no one have access to your data unless you share your secret key

#

so you don't have to worry

cunning tree
#

Ok

cunning tree
#

@noble belfry @steady bone Any progress?

noble belfry
#

you didn't share your PaymentIntent ID

cunning tree
#

Oh I thought that this is PaymentIntent ID, isn't it?

    "pk_test_51MBxq1HBPGE0Qd1QkoMXlmV0fLxA3ExNOKNsD4R1gc31tIuBxNG8oVSgdlLwwLiQy2MxsF1OhuaBgr9gTMfmDBMh00ynZThDfZ",
    {
      locale: "it-IT",
    }
  );```
zenith sphinx
#

hi! I'm taking over this thread.

#

that's your publishable API key. The PaymentIntent ID starts with pi_xxx, and can be found in your Stirpe dashboard

cunning tree
#

And why actually you need this id? Mentioned popup is rendered without it

zenith sphinx
#

are you using the deferred intent flow, where you don't use a PaymentIntent to rendrer the Payment Element?

cunning tree
# cunning tree

Probably yes, you can see on the screenshot that this is about Klarna's installment

zenith sphinx
#

can you share your frontent code?

cunning tree
zenith sphinx
#

having a look

#

I don't see anything wrong with your code. so I recommend contacting Stripe support about this: https://support.stripe.com/contact
make sure to include all relevant information (code, screenshots, etc.)

cunning tree
#

But are you able to reproduce this issue? Can you see english text at the bottom?