razorpay / react-native-razorpay

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

payment error [TypeError: null is not an object (evaluating '_reactNative.NativeModules.RNRazorpayCheckout.open')] #378

Open rajeshrapally opened 2 years ago

rajeshrapally commented 2 years ago

Getting Payment Error | TypeError: null is not an object

payment error [TypeError: null is not an object (evaluating '_reactNative.NativeModules.RNRazorpayCheckout.open')]

2C4QN

goblin645272 commented 2 years ago

I am getting the same error. Please help

Vipinstack commented 2 years ago

i am also getting this error payment error [TypeError: null is not an object (evaluating '_reactNative.NativeModules.RNRazorpayCheckout.open')]

IndrakumarR commented 2 years ago

i am also getting this error image

jcrew-amirshaikh commented 2 years ago

Is there any resolution on this issue?

samkit5495 commented 2 years ago

Try doing gradle change: Refer this https://stackoverflow.com/a/62969918/5223267

goblin645272 commented 2 years ago

Not the most optimized solution but I have migrated the complete application from expo to vanilla REACT NATIVE. That did the magic for me. In the process I had to remove all the expo dependencies and find react native alternatives.

Is there any resolution on this issue?

anilpeter75 commented 1 year ago

Is there any resolution on this issue?

sankparatkar commented 1 year ago

Any update on this? The steps to integrate razorpay into expo react native app are not working due to this issue

gyan7896 commented 1 year ago

This is occuring because library is not linked to ur project try linking it will resolve the issue