StripeModule.paymentRequestWithCardForm expects 3 arguments
See original GitHub issueWhen I call stripe.paymentRequestWithCardForm()
, it errors out, saying StripeModule.paymentRequestWithCardForm got 2 arguments, expected 3
.
This comes from invoke
in BaseJavaModule.java:291
(top-most entry in the stack trace). I checked StripeModule.java
in my node_modules
folder, but the paymentRequestWithCardForm
method seems to rightfully take in 2 arguments.
I’m testing on a physical device running Android 4.4.4. My dev environment is running React Native 0.39, with tipsi-stripe@1.4.0
.
I’m at a loss. Where could this be coming from?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
React Native tipsi-stripe - null is not an object (evaluating ' ...
I resolved this error message by the following steps. npm uninstall tipsi-stripe; npm install --save tipsi-stripe; cd ios ...
Read more >flutter_stripe_payment
I am creating source parameters in code because I think, when you create a cloud function you do not need it. This is...
Read more >React Native tipsi-stripe - null is not an object (evaluating ...
Answers 1 : of React Native tipsi-stripe - null is not an object (evaluating StripeModule.paymentRequestWithCardForm). I resolved this error message by the ...
Read more >The tipsi-stripe from tipsi - GithubHelp
When I call stripe.paymentRequestWithCardForm() , it errors out, saying StripeModule.paymentRequestWithCardForm got 2 arguments, expected 3 .
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@igemnace We managed to reproduce the bug and already working to fix it. Meanwhile, you can call the method with an empty object (like
stripe.paymentRequestWithCardForm({})
) to avoid facing the issue until the fix.Hi, @igemnace, thank you for your feedback. I will try to reproduce this bug on Android 4.4.4 today.