stripe-react-native
stripe-react-native copied to clipboard
initPaymentSheet wrong result
Describe the bug When Stripe API is blocked (for example via Charles Proxy) it doesn't give error, instead returns paymentOption with undefined
To Reproduce Steps to reproduce the behavior:
- Block Stripe API
- Call
initPaymentSheetmethod - expect error to be there
- instead it returns
paymentOptionundefined value
Expected behavior it should return the error object