nitish24p / react-native-upi

A tiny module for Adding payments via UPI in your react native apps ❤️
MIT License
72 stars 29 forks source link

You have exceeded the maximum transaction amount set by your bank" when calling Paytm or PhonePe by using react-native-upi-payment Ask Question #46

Open Juhi1611 opened 1 year ago

Juhi1611 commented 1 year ago

I am facing this weird problem with my react-native-upi-payment integration in React Native app. When I am sending an amount, I am getting the error "You have exceeded the maximum transaction amount set by your bank" even though I have not transacted any amount. And when I try to send amount directly from Phone pay or Paytm it works.

Payment Transaction is Failed and getting message :

"You have exceeded the maximum transaction amount set by your bank" when calling Paytm or PhonePe or any other UPI App

const initPayment = () => {
    try {
      RNUpiPayment.initializePayment(
      {
        vpa: 'testuser@okicici', // or can be john@ybl or mobileNo@upi
        payeeName: 'Test User',
        amount: '1',
        transactionNote: 'Transaction Note',
        transactionRef: 'aasf-332-aoeifn',
      },
      successCallback,
      failureCallback,
     );
    } catch (error) {
      console.log(error);
    }
  };

function successCallback(data) {
    try {
      console.log('Success');
      console.log(data);
    } catch (error) {
      console.log(error);
    }
  }

function failureCallback(data) {
    try {
      console.log('Failed');
      console.log(data);
    } catch (error) {
      console.log(error);
    }
  }
nitish24p commented 1 year ago

I think this is more of an issue with the issuing bank than the library itself

sumitezeiatech commented 1 year ago

I am getting the same issue

ritikmatta commented 1 year ago

I am facing this issue please help me :- Could not find method api() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

pratteekshaurya1994 commented 1 year ago

Did somebody got any solution for this issue??

swapnilkhedkar-vb commented 1 year ago

i'm also getting the same issue: When I am sending an amount, I am getting the error "You have exceeded the maximum transaction amount set by your bank" even though I have not transacted any amount.

Payment Transaction is Failed and getting message :

"You have exceeded the maximum transaction amount set by your bank" when calling Paytm or PhonePe or any other UPI App

And when I try to send amount directly from Phone pay or Paytm it works.

renishdeveloper commented 10 months ago

I'm also facing the same issue, the payment is working from the Google Pay app to the same UPI ID but when I integrated it in my react native app it show You have exceeded the maximum transaction amount. I'm searching for the solution for the same.

nitish24p commented 10 months ago

Can you put a breakpoint here https://github.com/nitish24p/react-native-upi/blob/master/android/src/main/java/com/upi/payment/UpiPaymentModule.java#L78 and post the payload here..

sayakbiswas13 commented 10 months ago

Has anyone got any solution for this issue?? Its urgent

nitish24p commented 10 months ago

@sayakbiswas13 Can you put a breakpoint here https://github.com/nitish24p/react-native-upi/blob/master/android/src/main/java/com/upi/payment/UpiPaymentModule.java#L78 and post the payload here..

sayakbiswas13 commented 10 months ago

@nitish24p how to do this?

nitish24p commented 10 months ago
  1. Run the app in debug build / envrionment
  2. Open android your app in android studio, if its an app created by react-native cli, then open the android folder in android studio, complete gradle sync
  3. Click on Debug > Attach to Process > Select the process you are running
  4. Press CMD/Ctrl + Shift + O then search for UpiPaymentModule.java and put a break point on the mentioned line
  5. Do your flow, and debug values

Go through https://developer.android.com/codelabs/basic-android-kotlin-compose-intro-debugger#0

sayakbiswas13 commented 10 months ago

@nitish24p ok will do.

sayakbiswas13 commented 10 months ago

@nitish24p hey is there any way we can connect through any media? LinkedIn or email or something that will be much appreciated.

nitish24p commented 10 months ago

@sayakbiswas13 Would prefer it here, so that any findings may be easy for others to follow too. Thanks

Sourav-techlur commented 10 months ago

Anyone solved this issue?

nitish24p commented 9 months ago

Can you folks please try and update to v1.0.5

ad77076 commented 5 months ago

Has anyone got a solution to this issue ? Please let us know.

ritikmatta commented 5 months ago

Yes i got solution

On Fri, 16 Feb 2024 at 10:32 PM, Akash Das @.***> wrote:

Has anyone got a solution to this issue ? Please let us know.

— Reply to this email directly, view it on GitHub https://github.com/nitish24p/react-native-upi/issues/46#issuecomment-1948891528, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTTVAGMAJX6KLJGVYXAKW3YT6GLZAVCNFSM6AAAAAAWKJTOWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYHA4TCNJSHA . You are receiving this because you commented.Message ID: @.***>

ad77076 commented 5 months ago

Yes i got solution On Fri, 16 Feb 2024 at 10:32 PM, Akash Das @.> wrote: Has anyone got a solution to this issue ? Please let us know. — Reply to this email directly, view it on GitHub <#46 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTTVAGMAJX6KLJGVYXAKW3YT6GLZAVCNFSM6AAAAAAWKJTOWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYHA4TCNJSHA . You are receiving this because you commented.Message ID: @.>

May your highness be kind enough to let us know about the solution you've got.

ritikmatta commented 5 months ago

share your email id

On Sat, 17 Feb 2024 at 3:06 PM, Akash Das @.***> wrote:

Yes i got solution … <#m5929482474373290208> On Fri, 16 Feb 2024 at 10:32 PM, Akash Das @.> wrote: Has anyone got a solution to this issue ? Please let us know. — Reply to this email directly, view it on GitHub <#46 (comment) https://github.com/nitish24p/react-native-upi/issues/46#issuecomment-1948891528>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTTVAGMAJX6KLJGVYXAKW3YT6GLZAVCNFSM6AAAAAAWKJTOWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYHA4TCNJSHA https://github.com/notifications/unsubscribe-auth/AQTTVAGMAJX6KLJGVYXAKW3YT6GLZAVCNFSM6AAAAAAWKJTOWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYHA4TCNJSHA . You are receiving this because you commented.Message ID: @.>

May your highness be kind enough to let us know about the solution you've got.

— Reply to this email directly, view it on GitHub https://github.com/nitish24p/react-native-upi/issues/46#issuecomment-1949916168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTTVAG4AJK6NEUWK4LCTTLYUB23HAVCNFSM6AAAAAAWKJTOWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZHEYTMMJWHA . You are receiving this because you commented.Message ID: @.***>

sayakbiswas13 commented 5 months ago

@ritikmatta Can you also share me the solution?

sayakbiswas13@gmail.com

msahu2595 commented 5 months ago

@ritikmatta Can you also share me the solution?

msahu2595@gmail.com

amanjeet17 commented 5 months ago

@ritikmatta amanjeetgilard@yahoo.in

nitish24p commented 5 months ago

@ritikmatta If you've got a solve that is working, you could consider making an OSS contrib to the repo, id be happy to merge

ritikmatta commented 5 months ago

If anybody wants solution can connect live:.cid.46f5e7a2f09df4b7

On Fri, 23 Feb 2024 at 11:01 AM, Nitish Phanse @.***> wrote:

@ritikmatta https://github.com/ritikmatta If you've got a solve that is working, you could consider making an OSS contrib to the repo, id be happy to merge

— Reply to this email directly, view it on GitHub https://github.com/nitish24p/react-native-upi/issues/46#issuecomment-1960754266, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTTVADOJHIGEP42UY3JZV3YVASSHAVCNFSM6AAAAAAWKJTOWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQG42TIMRWGY . You are receiving this because you were mentioned.Message ID: @.***>

amanjeet17 commented 5 months ago

@ritikmatta connect link aint functional.

ritikmatta commented 5 months ago

This is skype id.You can find on skype.

On Fri, 23 Feb 2024 at 1:24 PM, amanjeet17 @.***> wrote:

@ritikmatta https://github.com/ritikmatta connect link aint functional.

— Reply to this email directly, view it on GitHub https://github.com/nitish24p/react-native-upi/issues/46#issuecomment-1960873341, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTTVAHCFPAMKMGWZGVUCK3YVBDKDAVCNFSM6AAAAAAWKJTOWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQHA3TGMZUGE . You are receiving this because you were mentioned.Message ID: @.***>

Loky001 commented 5 months ago

@nitish24p Can you share solution here

pratteekshaurya1994 commented 5 months ago

please share a solution to me too. @.***

On Sat, Feb 24, 2024 at 11:17 PM Lokesh Gangodi @.***> wrote:

@nitish24p https://github.com/nitish24p Can you share solution to this mail: @.***

— Reply to this email directly, view it on GitHub https://github.com/nitish24p/react-native-upi/issues/46#issuecomment-1962435155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFRSCRNFWGBK3LLM3PNS2VLYVIRRRAVCNFSM6AAAAAAWKJTOWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSGQZTKMJVGU . You are receiving this because you commented.Message ID: @.***>

XahimA commented 4 months ago

so this ritikmatta guy asked me money for solution he needs 25k INR for giving me Solution , he is mad or what like this isn't how developer Community Works Bro get a freakin life .

samriddhisv commented 3 months ago

any luck with this yet?

samriddhisv commented 3 months ago

@nitish24p can you please help?

msahu2595 commented 3 months ago

He is asking money for help. You can reach out to him with money. He would definitely help you.

Name: Manish Kumar Sahu Place: Raipur, Chhattisgarh Mobile No: +91 9009630808 E-Mail: @.***

On Mon, 1 Apr 2024 at 3:50 PM, samriddhi Vishwakarma < @.***> wrote:

@nitish24p https://github.com/nitish24p can you please help?

— Reply to this email directly, view it on GitHub https://github.com/nitish24p/react-native-upi/issues/46#issuecomment-2029536466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIG75UR3MBDJUJNNMLJ333DY3EYG7AVCNFSM6AAAAAAWKJTOWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRZGUZTMNBWGY . You are receiving this because you commented.Message ID: @.***>