Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on confirmPayment #15

Open
ericksondelacruz opened this issue Dec 17, 2020 · 3 comments
Open

Error on confirmPayment #15

ericksondelacruz opened this issue Dec 17, 2020 · 3 comments

Comments

@ericksondelacruz
Copy link

ericksondelacruz commented Dec 17, 2020

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?

@kashi-mamidisetti
Copy link

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"]}

@calliday
Copy link

@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.

@MicaelRodrigues
Copy link

@ericksondelacruz Are you using a valid client_secret? I was getting this error passing a "dummy" string as the client_secret.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants