Error on confirmPayment
I got this error while trying to confirm the payment.
error : There was an unexpected error -- try again in a few seconds error : StripeModule.failed
I am using "react-native": "0.63.3" "react-native-stripe-payments": "^1.0.6"
Do I need to test it in physical device instead of simulator?
Same Error for me also on stripe.confirmPayment
{"code":"StripeModule.failed","message":"There was an unexpected error -- try again in a few seconds","domain":"RCTErrorDomain","userInfo":null,"nativeStackIOS":["0 wavili 0x000000010d082de7 RCTJSErrorFromCodeMessageAndNSError + 135","1 wavili 0x000000010d00a623 __41-[RCTModuleMethod processMethodSignature]_block_invoke_2.129 + 179","2 wavili 0x000000010d5e3786 __62-[StripePayments confirmPayment:cardParams:resolver:rejecter:]_block_invoke_2 + 198","3 libdispatch.dylib 0x00007fff2010535b _dispatch_call_block_and_release + 12","4 libdispatch.dylib 0x00007fff20106534 _dispatch_client_callout + 8","5 libdispatch.dylib 0x00007fff20113011 _dispatch_main_queue_callback_4CF + 1045","6 CoreFoundation 0x00007fff203a8276 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9","7 CoreFoundation 0x00007fff203a2b06 __CFRunLoopRun + 2685","8 CoreFoundation 0x00007fff203a1b9e CFRunLoopRunSpecific + 567","9 GraphicsServices 0x00007fff2b793db3 GSEventRunModal + 139","10 UIKitCore 0x00007fff2466d40f -[UIApplication _run] + 912","11 UIKitCore 0x00007fff24672320 UIApplicationMain + 101","12 wavili 0x000000010c99dc70 main + 112","13 libdyld.dylib 0x00007fff20257409 start + 1","14 ??? 0x0000000000000001 0x0 + 1"]}
@ericksondelacruz Have you verified your business with Stripe? I'm getting this too, but I'm wondering if it's because I haven't verified my business yet.
@ericksondelacruz Are you using a valid client_secret? I was getting this error passing a "dummy" string as the client_secret.