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

Locale not working #108

Open
akhilsanker opened this issue Apr 20, 2022 · 1 comment
Open

Locale not working #108

akhilsanker opened this issue Apr 20, 2022 · 1 comment
Labels
good first issue Good for newcomers

Comments

@akhilsanker
Copy link

Hi,

I tried to change the language of the checkout, but it's not working, the checkout is not getting loaded.

My code is as follows:

            <StripeCheckout
              stripePublicKey={config.STRIPE_PUBLISH_KEY}
              checkoutSessionInput={{
                sessionId: checkoutId,
                locale: 'de'
              }}
              onSuccess={() => {
                paymentSuccess();
              }}
              onCancel={() => {
                navigation.goBack();
              }}
              options={{
                htmlContentLoading: '',
                htmlContentHead: ''
              }}
              renderOnComplete={() => <></>}
              bounces={false}
            />

Is anything that I am missing.

Thanks

@a-tokyo a-tokyo added the good first issue Good for newcomers label Apr 25, 2022
@akhilsanker
Copy link
Author

@a-tokyo ,

Any updates?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants