androidionic3cross-platformpaymentupi

UPI deep linking from Ionic3 is not working on Android


I am using this:

options=
{ action:this.webIntent.ACTION_VIEW, url:"upi://pay?pa=xxx@upi&pn=Name&tid=TID4587445785&tr=Product Purchase&am=100&cu=INR&tn=Purchase&mc=< my mc code >" };

this.webIntent.startActivityForResult(options)

However, it's failing with these errors:

Google Pay Error limit exceed

paytm Error payee-mcc length invalid

Bhim Error Payee.code numeric of length 4

Could not figure out a solution. Any help is appreciated.


Solution

  • @rajib ,

    Give Merchant code as only of 4 digit .. Thats the one that is causing issue