razorpay / razorpay-node

Razorpay node.js bindings
MIT License
182 stars 111 forks source link

The browser directly pulls up the UPI protocol and the payment fails, Help ! #240

Closed SilurianYang closed 2 years ago

SilurianYang commented 3 years ago

Please help me, it can still be used normally not long ago, and suddenly found that this method cannot be used normally today 🙏🙏🙏🙏🙏🙏🙏🙏

Example:

Html

<body></body>
<script>
    const payBtn=document.createElement('button');
    payBtn.innerText=`payBtn`
    payBtn.addEventListener('click',()=>{
        location.href=`phonepe://pay?pa=xxxxx@icici&pn=coolmintorgamztechnologypvtltd&tr=ATCcoolmintor@icici&tn=a1ec80d32e&am=100.00&cu=INR`
    })
    document.querySelector('body').appendChild(payBtn)
</script>

Steps:

  1. Use an Android phone with PhonePe installed to open the web page
  2. Click Paybtn to trigger app protocol wakeup
  3. Enter the payment password until the end of the payment
  4. An error is abnormal, and payment cannot be initiated to the specified upi address

Explain:

Not long ago, it was still able to be used normally. Until this time, I found that this method of waking up through the UPI protocol could not be paid normally, as if it was a restriction on icici. When I manually enter the UPI address to make a payment, it is perfectly possible

Error:

Snipaste_2021-11-17_16-36-00

ankitdas13 commented 2 years ago

@SilurianYang sorry for the delay but this issue is not related to this package. even you are not using razorpay web integration