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

RazorPay Checkout open function not worked on both iOS and Android #348

Open devakalimuthu opened 3 years ago

devakalimuthu commented 3 years ago

Description

Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest React Native Razorpay plugin release to make sure your issue has not already been fixed.

Razorpay Package Version :

Open Package.json. > Copy react-native-razorpay version here.

Xcode Version (iOS) :

Open Xcode > Go to About Xcode > copy the Xcode version here.

Razorpay-pod version (iOS) :

Go to your project path > Go to folder named ios > open 'podfile.lock' file > search for 'razorpay-pod' > copy the line here

Java and Gradle Version (android) :

Specify your Java and Gradle version.

What you did:

What happened:

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. When call the Razor-pay open function, its wonts open a Razor-pay Amount page.
  2. Opened the modal page then loading the page and closed the modal page. There is no error bounce.

Suggested solution:

We need the open Amount details page will work normally.

Code example, screenshot, or link to a repository:screenshot

screenshot

vivekshindhe commented 3 years ago

@devakalimuthu Will need more information to go on here. Does it stay loading forever? What logs are you seeing when this happens? What version of react-native-razorpay are you using?

devakalimuthu commented 3 years ago

No, only open loader page. this page is open and then suddenly closed it. No logs are printed and also no errors are bounce. When call the Razor-pay.open function called then only this happened. Previous days it worked fine. Recent days it wont open the page. My current version "react-native-razorpay": "^2.2.7". and "react": "16.11.0", "react-native": "0.62.2",

devakalimuthu commented 3 years ago

@vivekshindhe No, only open loader page. this page is open and then suddenly closed it. No logs are printed and also no errors are bounce. When call the Razor-pay.open function called then only this happened. Previous days it worked fine. Recent days it wont open the page. My current version "react-native-razorpay": "^2.2.7". and "react": "16.11.0", "react-native": "0.62.2",

vivekshindhe commented 3 years ago

@devakalimuthu Send the payload you are using please?

0x1bitcrack3r commented 2 years ago

@devakalimuthu hey even I have faced a similar kind of issue, instead of staying on the loading page, it redirects back to the previous screen in my case. And can be reproducible only on Xiaomi devices.

vivekshindhe commented 2 years ago

@0x1bitcrack3r Could you please send the payload you are using?

0x1bitcrack3r commented 2 years ago

@0x1bitcrack3r Could you please send the payload you are using?

{ key: key, image: imageUrl, currency: 'INR', amount, name: 'Name', prefill: {name,contact,email}, notes, order_id: orderId, theme: { color: theme.color.teal }, }

0x1bitcrack3r commented 2 years ago

@vivekshindhe the issue that I am facing is same as this https://github.com/razorpay/react-native-razorpay/issues/277

vivekshindhe commented 2 years ago

@0x1bitcrack3r could you please send a sample payload for us to check if it is reproducible by us

0x1bitcrack3r commented 2 years ago

@0x1bitcrack3r could you please send a sample payload for us to check if it is reproducible by us

https://github.com/razorpay/react-native-razorpay/issues/348#issuecomment-919058610