-
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
Not able to open payment screen in release build in android #165
Comments
@amanmehta25 Can u share log with what exception u r getting |
We are sending the below data as payment options while making
And we are getting this error -
Note: This is working fine everytime in debug build. |
@amanmehta25 You need to pass razorpay_order_id created using https://docs.razorpay.com/v1/page/orders under order_id param |
@amanmehta25 Also check if razorpay_order_id was created using the same keys which are being used to invoke the checkout |
Able to figure out this issue. I was passing the correct razorpay_order_id. There was some issue with the keys config only. Thanks a lot razorpay team for your help and support. |
can you explain me how you resolve your issue? |
Copy-keepclassmembers class * { -keepattributes JavascriptInterface -dontwarn com.razorpay.** -optimizations !method/inlining/* -keepclasseswithmembers class * { |
compileSdkVersion: 28
BuildToolVersion: 28.0.3
React: 16.8.3
React-native: 0.59.0
React-native-razorpay: 2.0.20
It's working fine in debug mode. But in release mode, the payment screen is not opening at all.
The catch block gets executed on calling the razorpay checkout open method.
I am building the apk by compiling sub-projects on above-mentioned versions. Here is the code :
Not sure how to debug the issue further on this.
Let me know if you need any other details.
The text was updated successfully, but these errors were encountered: