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

CustomerSheet Get Stucked in IOS

Open Hassaan0 opened this issue 1 year ago • 0 comments
trafficstars

I'm encountering an issue with the CustomerSheet in the @stripe/stripe-react-native SDK, where it frequently becomes unresponsive during a specific flow.

To Reproduce Steps to reproduce the behavior:

  1. Add a card using setupIntent.
  2. Navigate to the checkout screen, initialize the PaymentSheet, and choose your payment method by presenting the PaymentSheet.
  3. Select your saved card, then delete it, close the sheet, and attempt a payment. The confirmPayment function will throw an error: An Unexpected Error Occurred.
  4. Afterward, try adding another card. At this point, the Stripe PaymentSheet becomes unresponsive. This behavior is causing the CustomerSheet to frequently get stuck.

System Requirements:

  • @stripe/stripe-react-native: ^0.38.1
  • react: 18.2.0
  • react-native:0.73.6

Hassaan0 avatar Sep 10 '24 13:09 Hassaan0