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 [email protected].
I'm at a loss. Where could this be coming from?
@itsmepetrov @fAns1k please look into this
Hi, @igemnace, thank you for your feedback. I will try to reproduce this bug on Android 4.4.4 today.
Thanks @itsmepetrov. If you need any more info, I'll try to reproduce on my end as well. I was on a physical device so I couldn't take screenshots.
Hi @igemnace!
I have tried to run the example on Android 4.3 physical device, but can't reproduce this error. I need more information. Could you share the code where you get this error?
@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.
Thanks, @fAns1k!