Update stripe_pay.dart
This commit is contained in:
parent
7661597d7b
commit
4a3e70d5ca
@ -34,7 +34,7 @@ stripePay(context,
|
||||
: getEnv('STRIPE_LIVE_MODE', defaultValue: false);
|
||||
|
||||
// CONFIGURE STRIPE
|
||||
Stripe.stripeAccountId = getEnv('STRIPE_ACCOUNT');
|
||||
Stripe.stripeAccountId = getEnv('STRIPE_ACCOUNT') == null ? wooSignalApp.stripeAccount : '';
|
||||
Stripe.publishableKey = liveMode ? "pk_live_IyS4Vt86L49jITSfaUShumzi" : "pk_test_0jMmpBntJ6UkizPkfiB8ZJxH"; // Don't change this value
|
||||
|
||||
try {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user