Skip to content
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

you have to add new parms also #54

Open
getsettalk opened this issue Sep 28, 2023 · 6 comments
Open

you have to add new parms also #54

getsettalk opened this issue Sep 28, 2023 · 6 comments

Comments

@getsettalk
Copy link

Hi , Most of transaction goes faild and message is showing that : limit reached/ risky payment?

so you have to add new params 👍

Uri uri = Uri.parse("upi://pay").buildUpon()
         .appendQueryParameter("pa", upiId)
         .appendQueryParameter("pn", name)
         .appendQueryParameter("mc", "")            /// 1st param - use it (it was commented on my earlier tutorial)
         //.appendQueryParameter("tid", "02125412")
         .appendQueryParameter("tr", "25584584")   /// 2nd param - use it (it was commented on my earlier tutorial)
         .appendQueryParameter("tn", note)
         .appendQueryParameter("am", amount)
         .appendQueryParameter("cu", "INR")
         //.appendQueryParameter("refUrl", "blueapp")
         .build();

please read here also : https://www.blueappsoftware.com/google-pay-error-bank-limit-exceeded/

above code in java , you have to add that in react -native this package

@nitish24p
Copy link
Owner

Would you like to make a PR, i can merge it.. Sorry have been very occupied with personal life so dont get time for this.

@nitish24p
Copy link
Owner

Can you try and update to V 1.0.5

@Sourav-techlur
Copy link

@nitish24p with V 1.0.5 also it is failing. Could you please update the steps for merchant payment.

@nitish24p
Copy link
Owner

I added the following in the Readme

{
  /*
  * REQUIRED
  * vpa is the address of the payee given to you
  * by your bank
  */
  vpa: 'somehandle@upi',

  /*
  * REQUIRED
  * payeeName is the name of the payee you want
  * to make a payment too. Some upi apps need this
  * hence it is a required field
  */
  payeeName: 'Payee name',

  /*
  * REQUIRED
  * This is a reference created by you / your server
  * which can help you identify this transaction
  * The UPI spec doesnt mandate this but its a good to have
  */
  transactionRef: 'some-hash-string',

  /*
  * REQUIRED
  * The actual amount to be transferred
  */
  amount: '200',

  /*
  * OPTIONAL
  * Transactional message to be shown in upi apps
  */
  transactionNote: 'for food'

  /*
  * OPTIONAL
  * Transactional message to be shown in upi apps
  */
  merchantCode: 'Merchant Code for the payor'
}

@getsettalk
Copy link
Author

getsettalk commented Oct 3, 2023 via email

@uday8373
Copy link

uday8373 commented Oct 4, 2023

Is the issue resolved ? I am facing " limit reached/ risky payment?" issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants