-
Notifications
You must be signed in to change notification settings - Fork 107
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
React native app is crashing after confirming payment with razorpay test key? #261
Comments
Facing the same issue while using Standard SDK and RazoprpatCheckout.open method. React Versions: |
Hi @Karan-Chandwani, @knevagi: Please provide the following asked details that were mentioned on issue template,
|
@Nautiyalsachin Version
Sample Component
Basically I am running the Razorpay. open function when the user clicks on the Pay Button. I am getting success alert but once I get the success pop up the app is crashing. Thank you. |
@Nautiyalsachin Any Update? |
@knevagi, Have you tried the Sample app yet? Try to run it locally and see the implementation, maybe there is something which you have missed. |
@Nautiyalsachin is the implementation same for react-native-customui as in the sample app? |
@knevagi : Yes it is. @samartu-labs : Please try the step mentioned here - |
@Nautiyalsachin I tried the sample app. It works but for some reason, my app is crashing but everything looks fine to me. The payment is successful and it is getting recorded on the Razorpay dashboard after which the app is crashing. When I logged the crash this is what came up
Are there any fields I am missing? Or something else that I can try? |
@Nautiyalsachin do expo ejected react native applications give problems with razorpay? |
@knevagi : We do not support Expo in our react-native plugin. As it won't allow us to use some of the native features which we are using in our SDKs. |
@Nautiyalsachin But once the application is ejected from expo it should work, right? Can you please go over my code snippet and error log again and see if I am missing something? |
@knevagi : There might be some code in your codebase which is still auto-generated or might effected by the Expo. I'll suggest you create a new app and try to integrate our plugin if that goes well, you can than try to add the other functionalities. |
I was having the similar issue. I disable the progard rules (minification) of script files in app/build.gradle |
@knevagi, you can follow steps given by @sanjeevkse. I am closing this issue for now, feel free to reopen it. |
yes, i am having the same issue in my fresh install |
@knevagi Could you solve the issue? I am have the same issue. react - 17.0.1 My checkout code-
The app crashes on clicking either Success or Failure. No error log is displayed. Any help would be much appreciated. Thanks in advance. |
android app crash after getting razorpay_payment_id @vivekshindhe |
|
I am trying to implement UPI payment in my react native app but my app is crashing on successful payment even though I am getting a successful payment alert. I am using the customui SDK for implementing Razorpay payments. I am not getting any kind of exception or error, the app is just shutting down. I am using react native version 0.61.5 Any help would be appreciated. Thank you.
Checkout code
The text was updated successfully, but these errors were encountered: