react-native-upi icon indicating copy to clipboard operation
react-native-upi copied to clipboard

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

Open Juhi1611 opened this issue 2 years ago • 36 comments

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);
    }
  }

Juhi1611 avatar Mar 28 '23 09:03 Juhi1611

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

nitish24p avatar Apr 04 '23 08:04 nitish24p

I am getting the same issue

sumitezeiatech avatar Apr 07 '23 11:04 sumitezeiatech

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.

ritikmatta avatar Apr 08 '23 11:04 ritikmatta

Did somebody got any solution for this issue??

pratteekshaurya1994 avatar Jun 18 '23 17:06 pratteekshaurya1994

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.

swapnilkhedkar-vb avatar Jul 25 '23 07:07 swapnilkhedkar-vb

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.

renishdeveloper avatar Sep 03 '23 15:09 renishdeveloper

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

nitish24p avatar Sep 08 '23 06:09 nitish24p

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

sayakbiswas13 avatar Sep 11 '23 08:09 sayakbiswas13

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

nitish24p avatar Sep 14 '23 05:09 nitish24p

@nitish24p how to do this?

sayakbiswas13 avatar Sep 19 '23 07:09 sayakbiswas13

  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

nitish24p avatar Sep 19 '23 10:09 nitish24p

@nitish24p ok will do.

sayakbiswas13 avatar Sep 19 '23 10:09 sayakbiswas13

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

sayakbiswas13 avatar Sep 20 '23 09:09 sayakbiswas13

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

nitish24p avatar Sep 20 '23 12:09 nitish24p

Anyone solved this issue?

Sourav-techlur avatar Sep 28 '23 07:09 Sourav-techlur

Can you folks please try and update to v1.0.5

nitish24p avatar Oct 02 '23 05:10 nitish24p

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

ad77076 avatar Feb 16 '24 17:02 ad77076

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

ritikmatta avatar Feb 17 '24 05:02 ritikmatta

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.

ad77076 avatar Feb 17 '24 09:02 ad77076

share your email id

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

Yes i got solution … <#m_5929482474373290208_> 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: @.***>

ritikmatta avatar Feb 17 '24 17:02 ritikmatta

@ritikmatta Can you also share me the solution?

[email protected]

sayakbiswas13 avatar Feb 17 '24 17:02 sayakbiswas13

@ritikmatta Can you also share me the solution?

[email protected]

msahu2595 avatar Feb 21 '24 18:02 msahu2595

@ritikmatta [email protected]

amanjeet17 avatar Feb 22 '24 20:02 amanjeet17

@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

nitish24p avatar Feb 23 '24 05:02 nitish24p

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

ritikmatta avatar Feb 23 '24 07:02 ritikmatta

@ritikmatta connect link aint functional.

amanjeet17 avatar Feb 23 '24 07:02 amanjeet17

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

ritikmatta avatar Feb 23 '24 08:02 ritikmatta

@nitish24p Can you share solution here

Loky001 avatar Feb 24 '24 17:02 Loky001

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

pratteekshaurya1994 avatar Feb 24 '24 18:02 pratteekshaurya1994

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 .

XahimA avatar Mar 17 '24 13:03 XahimA