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

initPaymentSheet wrong result

Open chakravarthy-mm opened this issue 3 years ago • 0 comments

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:

  1. Block Stripe API
  2. Call initPaymentSheet method
  3. expect error to be there
  4. instead it returns paymentOption undefined value

Expected behavior it should return the error object

chakravarthy-mm avatar Jul 08 '22 11:07 chakravarthy-mm