stripe-react-native
stripe-react-native copied to clipboard
Android: Using GPay results in “Something went wrong” message, but payment is successful
Describe the bug Seeing an odd error today when testing which I had not encountered before. Not sure if this is in the React Native layer or the Android layer, but I’m starting here since this is the implementation we use. 🙂
To Reproduce
- Open payment sheet.
- Tap GPay button.
- Select payment method and confirm.
- A red message reading “Something went wrong” appears underneath the GPay button.
- However, when checking the Stripe dashboard, the payment was successful.
As a result, the user will encounter an error if they try to pay again (which they likely will since the message indicates the payment failed).
Expected behavior Payment is successful with no error messages.
Screenshots
The error message:
The successful GPay transaction:
Smartphone:
- Device: Google Pixel 6 (emulator)
- OS: API 33
Additional context Not sure if this is happening in production for us as I’d have to make a purchase using real money. However, we haven’t received any user reports as far as I know. It’s possible it’s isolated to the test environment.
Any insight would be appreciated!