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 3398482 commit 3be9cddCopy full SHA for 3be9cdd
LabelStoreMax/lib/app/providers/stripe_pay.dart
@@ -72,7 +72,7 @@ stripePay(context,
72
return;
73
}
74
75
- Stripe.instance.initPaymentSheet(paymentSheetParameters: SetupPaymentSheetParameters(
+ await Stripe.instance.initPaymentSheet(paymentSheetParameters: SetupPaymentSheetParameters(
76
applePay: false,
77
googlePay: false,
78
style: Theme.of(state.context).brightness == Brightness.light ? ThemeMode.light : ThemeMode.dark,
@@ -102,8 +102,7 @@ stripePay(context,
102
103
Navigator.pushNamed(context, "/checkout-status", arguments: order);
104
105
- }
106
- on StripeException catch(e) {
+ } on StripeException catch(e) {
107
showToastNotification(
108
context,
109
title: trans(context, "Oops!"),
0 commit comments