#notaduck
1 messages · Page 1 of 1 (latest)
The error summarises the issue well. You'll need to reinitialise the Elements provider when the Stripe instance changes. The best way to do this I think is do pass a key prop:
<Elements stripe={stripePromise}>{element} key={stripePromise} />
Otherwise you could have a unique component per locale that renders the <Elements with the associated Stripe instance