Skip to content

Locale not working #108

@akhilsanker

Description

@akhilsanker

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions