Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: PaymentElement doesn't display correct locale in Custom Checkout #672

Open
jstcki opened this issue Oct 21, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@jstcki
Copy link

jstcki commented Oct 21, 2024

What happened?

With a checkout session like

const session = await stripe.checkout.sessions.create({
    mode: "subscription",
    ui_mode: "custom",
    locale: "de",
    // ...
});

The Payment Element (rendered within a react-stripe-js <CustomCheckoutProvider>) still displays English labels.

(With Embedded Checkout it works fine)

Environment

Any browser, custom_checkout_beta_3

Reproduction

No response

@jstcki jstcki added the bug Something isn't working label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant