Comments (19)
The same happened with my app, all I did was I was using a test key and I did not have a server to generate order id so I just commented out the line which puts the order id and also I tweaked the amount, and it works now.
from razorpay-java.
Hi There,
This issue is also impacting razorpay_flutter: ^1.2.7
E/com.razorpay.checkout(13775): Webview JS Error: Uncaught ReferenceError: otpPermissionCallback is not defined
I/chromium(13775): [INFO:CONSOLE(1)] "Uncaught ReferenceError: otpPermissionCallback is not defined", source: https://api.razorpay.com/v1/checkout/public?version=1.6.10&library=checkoutjs&platform=android (1)
E/ActivityThread(13775): Activity com.razorpay.CheckoutActivity has leaked IntentReceiver com.razorpay.AutoReadOtpHelper@6796151 that was originally registered here. Are you missing a call to unregisterReceiver()?
E/ActivityThread(13775): android.app.IntentReceiverLeaked: Activity com.razorpay.CheckoutActivity has leaked IntentReceiver com.razorpay.AutoReadOtpHelper@6796151 that was originally registered here. Are you missing a call to unregisterReceiver()?
from razorpay-java.
@naveenlearner38 thnx Instead of 50 try with 5000 your answer is helped me
from razorpay-java.
I am also facing the same issue if anyone from Razorpay could solve this issue.
from razorpay-java.
i am also facing issue
from razorpay-java.
I am also facing an issue
Could you share your Razorpay code?
from razorpay-java.
from razorpay-java.
@venky9885 Instead of 50 try with 5000
from razorpay-java.
I am also facing the same issue if anyone from Razorpay could solve this issue.
use this gradle version implementation 'com.razorpay:checkout:1.6.8'
from razorpay-java.
i am also facing issue
use this gradle version. it will fix it. implementation 'com.razorpay:checkout:1.6.8'
from razorpay-java.
@venky9885 Instead of 50 try with 5000
Bro i have solved it with your help, can you explain why it happens ,FOR real transactions it will be problem no
from razorpay-java.
@venky9885 Instead of 50 try with 5000
Bro i have solved it with your help, can you explain why it happens ,FOR real transactions it will be problem no
It is because the amount is not proper, even in production if you are calculating 100 rupees you need to convert the amount to 100 * 100 = 10000. Like this only the official documentation gave. link : https://razorpay.com/docs/api/orders/
from razorpay-java.
If anyone has found out the solution for this problem, kindly share.
from razorpay-java.
If anyone has found out the solution for this problem, kindly share.
yes it was erorr with money just multiply your amount with 100 and try once
from razorpay-java.
If anyone has found out the solution for this problem, kindly share.
yes it was erorr with money just multiply your amount with 100 and try once
I have tried multiplying amount by 100 as it needs to be in "Paise" according to official documentation but it didn't work. I also changed the version from 1.6.6 to 1.6.8. Nothing worked.
Do we have any other workaround?
from razorpay-java.
please re-check your api key is valid
from razorpay-java.
The same happened with my app, all I did was I was using a test key and I did not have a server to generate order id so I just commented out the line which puts the order id and also I tweaked the amount, and it works now.
In my case the amount value was getting null I tried hardcoding a integer and its working correctly
from razorpay-java.
The same happened with my app, all I did was I was using a test key and I did not have a server to generate order id so I just commented out the line which puts the order id and also I tweaked the amount, and it works now.
This answer helps me Thankyou so much
from razorpay-java.
@ibrahim-iqbal Could you please close the issue if the issue was resolved . Please let us know if you need any help
from razorpay-java.
Related Issues (20)
- Api to Create and apply payments from server side HOT 2
- Do you have a razorpayx SDK? HOT 2
- response object HOT 2
- Razorpay api Integration HOT 3
- use spring resttemplate or webclient to place REST requests HOT 1
- Can not execute the below API using this package. HOT 3
- Activity com.razorpay.CheckoutActivity has leaked IntentReceiver HOT 3
- Issue HOT 5
- com.razorpay.CheckoutActivity has leaked IntentReceiver HOT 17
- Get
- Activity com.razorpay.CheckoutActivity has leaked IntentReceiver com.razorpay.AutoReadOtpHelper@ba8c433 that was originally registered here. Are you missing a call to unregisterReceiver()? HOT 4
- Unable to Make Test Payment Showing this error?? HOT 6
- [Feature Request] Adding Allowed Payers In Virtual Account API HOT 2
- [Bug] Improper handling of delete call response HOT 2
- https://razorpay.com/docs/route/api/account-apis-beta/ - not able to find appropriate client in sdk HOT 2
- Cannot build on API 31 HOT 2
- Webhook use 'GET' method HOT 3
- RazorpayException: Unable to parse response because of null HOT 3
- Doesnt work with Fragment HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from razorpay-java.