stripe-react-native
stripe-react-native copied to clipboard
CustomerSheet Get Stucked in IOS
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:
- Add a card using
setupIntent. - Navigate to the checkout screen, initialize the
PaymentSheet, and choose your payment method by presenting thePaymentSheet. - Select your saved card, then delete it, close the sheet, and attempt a payment. The
confirmPaymentfunction will throw an error:An Unexpected Error Occurred. - Afterward, try adding another card. At this point, the Stripe
PaymentSheetbecomes unresponsive. This behavior is causing theCustomerSheetto frequently get stuck.
System Requirements:
- @stripe/stripe-react-native: ^0.38.1
- react: 18.2.0
- react-native:0.73.6