bhar4t / upiqr

This project is a TypeScript library that generates NPCI's UPI QR code (BASE64) along with UPI intent link, which can be used for payment through UPI-enabled apps.
https://www.npmjs.com/package/upiqr
MIT License
27 stars 6 forks source link

The library generates proper qr code as expected but the payment fails everytime #2

Closed Omkarc284 closed 1 year ago

Omkarc284 commented 1 year ago

I have used this library in a project where it generates QR code for payment to the customer. By scanning it from Gpay or phonepe it shows correctly the Receivers VPA and the amount to be paid but the payment fails every time meanwhile the QR code which the client already uses for the payment works perfectly indicating there's no bank server issue

navinkrv commented 1 year ago

try using merchant UPI for qr generation

Guchii commented 1 year ago

Happened with me as well, not with bhar4t/upiqr but I implemented something similar, there the QRs were partially working (only amount, and payeeVPA) but the payments failed with the intent links. We are missing something very important, Sadly this isn't documented well enough anywhere :( see this: https://www.labnol.org/files/linking.pdf

navinkrv commented 1 year ago

Works well with phonepe merchant upi ids

bhar4t commented 1 year ago

This seems to be API/server issue, hence closing the issue, Thanks!