Skip to content

Commit 4a3e70d

Browse files
authored
Update stripe_pay.dart
1 parent 7661597 commit 4a3e70d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LabelStoreMax/lib/app/providers/stripe_pay.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ stripePay(context,
3434
: getEnv('STRIPE_LIVE_MODE', defaultValue: false);
3535

3636
// CONFIGURE STRIPE
37-
Stripe.stripeAccountId = getEnv('STRIPE_ACCOUNT');
37+
Stripe.stripeAccountId = getEnv('STRIPE_ACCOUNT') == null ? wooSignalApp.stripeAccount : '';
3838
Stripe.publishableKey = liveMode ? "pk_live_IyS4Vt86L49jITSfaUShumzi" : "pk_test_0jMmpBntJ6UkizPkfiB8ZJxH"; // Don't change this value
3939

4040
try {

0 commit comments

Comments
 (0)