stripe-react-native icon indicating copy to clipboard operation
stripe-react-native copied to clipboard

Android: Using GPay results in “Something went wrong” message, but payment is successful

Open short-dsb opened this issue 1 year ago • 2 comments
trafficstars

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

  1. Open payment sheet.
  2. Tap GPay button.
  3. Select payment method and confirm.
  4. A red message reading “Something went wrong” appears underneath the GPay button.
  5. 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: gpay The successful GPay transaction: stripe

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!

short-dsb avatar Aug 15 '24 23:08 short-dsb