We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b34e5b0 commit 3588ebbCopy full SHA for 3588ebb
packages/stripe_web/lib/src/web_stripe.dart
@@ -57,9 +57,9 @@ class WebStripe extends StripePlatform {
57
_urlScheme = urlScheme;
58
59
if (__stripe != null) {
60
- // Check if the new stripeAccountId is different
+ // Check if the new stripeAccountId or locale is different
61
if (__stripe!.stripeAccount != stripeAccountId || __stripe!.locale != locale) {
62
- // Re-initialize with new stripeAccountId
+ // Re-initialize with new stripeAccountId or locale
63
await stripe_js.loadStripe();
64
var stripeOption = stripe_js.StripeOptions();
65
if (__stripe!.stripeAccount != stripeAccountId) {
0 commit comments