Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
cedvandenbosch committed Nov 7, 2024
1 parent a2e24ff commit 623bdf2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ class AddPaymentMethodScreenLoader {
// applePay: const PaymentSheetApplePay(
// merchantCountryCode: 'BE',
// ),
googlePay: PaymentSheetGooglePay(
merchantCountryCode: 'BE',
buttonType: stripe.PlatformButtonType.book,
label: 'ADD',
testEnv: kDebugMode),
// googlePay: PaymentSheetGooglePay(
// merchantCountryCode: 'BE',
// label: 'ADD',
// testEnv: kDebugMode,
// ),
primaryButtonLabel: 'confirm',
style: Theme.of(context).brightness == Brightness.dark
? ThemeMode.dark
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ class _AddPaymentMethodScreenPlatformState
),
body: Column(
children: [
SizedBox(height: 12),
Text(
'This will redirect to the bank in production. In the example it\'s going to redirect to home with the result in the url'),
SizedBox(height: 12),
Padding(
padding: const EdgeInsets.all(24),
child: PaymentElement(
Expand Down

0 comments on commit 623bdf2

Please sign in to comment.