Replies: 4 comments 13 replies
-
https://stripe.com/docs/google-pay Double-check your configuration, e.g. merchant ID and similar. It's always a configuration issue. |
Beta Was this translation helpful? Give feedback.
-
@spaquis The fix is to enter a valid credit cards to your google pay wallet. This is needed needed especially for the testMode to work. Additionally you should enter yourself to the group for test cards: https://developers.google.com/pay/api/android/guides/resources/test-card-suite After this steps, the "Pay with GPay" button should appear and you can do a test payment with the provided test cards |
Beta Was this translation helpful? Give feedback.
-
Any solution? |
Beta Was this translation helpful? Give feedback.
-
@Nikunj-Flutter @mihiravdevs After a long time spent on this issue, I've a solution. You need the following things to see a Google Pay button on the
|
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Hi,
I'm trying to integrate the Google Pay button inside Payment Sheet but i can't succeed to display the Google pay button on a real device when testEnv property is set to true (Apple Pay works well) :
googlePay: const PaymentSheetGooglePay( merchantCountryCode: 'IE', currencyCode: 'EUR', testEnv: true, ),
If i set testEvent to false, i can see the Google Pay button but when i click on it i have an error [Google Pay OR_BIBED_11] which is logic because my test environment is linked to stripe test mode.
To Reproduce
Just add the code above inside Stripe.instance.initPaymentSheet after setup correctly Google Pay (Metadata in manifest / stripe android Sdk). Then launch the payment sheet on Android => the google pay button didn't appear
Expected behavior
The google pay button should appear with testEnv: true
Smartphone / tablet
Additional context
As i said above, the button is displayed when testEnv is false (should demonstrate that the configuration is OK)
Thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions