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