razorpay / react-native-razorpay

React Native wrapper for Razorpay's mobile SDKs
https://www.npmjs.com/package/react-native-razorpay
MIT License
124 stars 107 forks source link

Error: Exception in HostFunction: Malformed calls from JS: field sizes are different. #326

Closed akshaykatale99 closed 3 years ago

akshaykatale99 commented 3 years ago

Description

Getting Error: Exception in HostFunction: Malformed calls from JS: field sizes are different. error when i try to open gateway by calling RazorpayCheckout.open.

Razorpay Package Version :

^2.2.4

What happened:

Getting Error: Exception in HostFunction: Malformed calls from JS: field sizes are different. error when i try to open gateway by calling RazorpayCheckout.open.

    Error: Exception in HostFunction: Malformed calls from JS: field sizes are different.

    [[4,27,16,16,9,50,27],[0,1,17,15,0,0,0],[[],[16122],[3471],[3472,16045,{"iterations":1,"toValue":1,"frames":[0,0.008888888888888889,0.035555555555555556,0.08000000000000002,0.14222222222222222,0.2222222222222222,0.32000000000000006,0.4355555555555556,0.5644444444444444,0.6799999999999999,0.7777777777777777,0.8577777777777778,0.92,0.9644444444444444,0.9911111111111112,1],"type":"frames"},242309],[],[16127,2000,1617816586379,false]],121151]

Steps To Reproduce

There are no specific steps to reproduce it. just trying to open the gateway and got this error every time.