Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Razor pay not working in react native >=0.60 #219

Closed
lohithananda opened this issue Sep 24, 2019 · 11 comments
Closed

Razor pay not working in react native >=0.60 #219

lohithananda opened this issue Sep 24, 2019 · 11 comments

Comments

@lohithananda
Copy link

Since react native link(native library)command is not working now in latest versions even if we link this library it's gives error as native module not imported. and we need pods to use it in iOS.

@varunsdcet
Copy link

varunsdcet commented Sep 25, 2019

Use this npm i react-native-razorpay@2.0.18 and then react-native link react-native-razorpay@2.0.18

@varunsdcet
Copy link

@lohithananda what are problem you facing if its urgent please install npm i react-native-razorpay@2.0.18 otherwise you wait untill any update its worked for me.

@Anujmoglix
Copy link

Hi , I am getting issue
Haste module naming collision , duplicate module name : react-animated

@ChintanAcharya
Copy link
Contributor

@Anujmoglix What version of react-native-razorpay are you on?

@varunsdcet
Copy link

Hi , I am getting issue
Haste module naming collision , duplicate module name : react-animated
Please go to nodemodule then react-native rajorpay then you see there is nodemodule inside this.please remove this

@varunsdcet
Copy link

@Anujmoglix your issue is solved or not

@Anujmoglix
Copy link

yes , It is fixed .

@IamDhana
Copy link

IamDhana commented Dec 23, 2019

Is this issue fixed in the latest version or still we need to use the 2.0.18 version of react-native-razorpay?

@mamta-deswal
Copy link

Razor pay not working in react-native version 0.61.5. Android app crash on razorpayCheckout.open.
var options = {
description: 'Credits towards consultation',
currency: 'INR',
key_id: 'my key id',
amount: '5000',
email: 'mamta.d55@test.com',
contact: '999999999',
method: 'netbanking',
bank: 'HDFC'

}
RazorpayCheckout.open(options).then((data) => {
  // handle success
  alert(`Success: ${data.razorpay_payment_id}`);
}).catch((error) => {
  // handle failure
  alert(`Error: ${error.code} | ${error.description}`);
});

@knifedge
Copy link

I am facing same issue as @mamta-deswal. Any solution ?

@Nautiyalsachin
Copy link
Contributor

Hi Guys, we have updated our package to 2.1.32 which supports Auto linking and it also supports 0.60+ react-native versions. Please follow the updated readme.

Closing this issue due to the time elapsed. Please feel free to either re-open the issue or create a
new issue if you have any additional queries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants