question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

StripeModule.paymentRequestWithCardForm expects 3 arguments

See original GitHub issue

When 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:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fAns1kcommented, Feb 9, 2017

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

1reaction
itsmepetrovcommented, Feb 9, 2017

Hi, @igemnace, thank you for your feedback. I will try to reproduce this bug on Android 4.4.4 today.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found