GithubHelp home page GithubHelp logo

Comments (19)

Gidde-Abhishek avatar Gidde-Abhishek commented on June 26, 2024 8

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.

shhnwz avatar shhnwz commented on June 26, 2024 1

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.

kumarsanjeev786 avatar kumarsanjeev786 commented on June 26, 2024 1

@naveenlearner38 thnx Instead of 50 try with 5000 your answer is helped me

from razorpay-java.

naveenlearner38 avatar naveenlearner38 commented on June 26, 2024

I am also facing the same issue if anyone from Razorpay could solve this issue.

from razorpay-java.

venky9885 avatar venky9885 commented on June 26, 2024

i am also facing issue

from razorpay-java.

naveenlearner38 avatar naveenlearner38 commented on June 26, 2024

I am also facing an issue
Could you share your Razorpay code?

from razorpay-java.

ibrahim-iqbal avatar ibrahim-iqbal commented on June 26, 2024

from razorpay-java.

naveenlearner38 avatar naveenlearner38 commented on June 26, 2024

@venky9885 Instead of 50 try with 5000

from razorpay-java.

charlyge avatar charlyge commented on June 26, 2024

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.

charlyge avatar charlyge commented on June 26, 2024

i am also facing issue

use this gradle version. it will fix it. implementation 'com.razorpay:checkout:1.6.8'

from razorpay-java.

venky9885 avatar venky9885 commented on June 26, 2024

@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.

naveenlearner38 avatar naveenlearner38 commented on June 26, 2024

@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.

harishrahangdale avatar harishrahangdale commented on June 26, 2024

If anyone has found out the solution for this problem, kindly share.

from razorpay-java.

venky9885 avatar venky9885 commented on June 26, 2024

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.

harishrahangdale avatar harishrahangdale commented on June 26, 2024

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.

developertrack avatar developertrack commented on June 26, 2024

please re-check your api key is valid

from razorpay-java.

apoorvpandey0 avatar apoorvpandey0 commented on June 26, 2024

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.

EswaraRajan avatar EswaraRajan commented on June 26, 2024

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.

ankitdas13 avatar ankitdas13 commented on June 26, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.