我试图实现UPI意图,但每当我付款时,它在Google Pay中说“超过了最大限制”;在PhonePe中,它显示由于安全问题,您不能使用此银行帐户支付。请帮帮我。这里是我的代码。
Uri UPI = Uri.parse("upi://pay").buildUpon()
.appendQueryParameter("pa", "") //rList.get(i).upi_id
.appendQueryParameter("pn", "") //rList.get(i).username
.appendQueryParameter("tn", "TEST") //rList.get(i).paylist_name
.appendQueryParameter("tr", ""+StaticValues.transactionId)
.appendQueryParameter("tid", ""+StaticValues.transactionId)
.appendQueryParameter("am", ""+rList.get(i).payble_amount)
.appendQueryParameter("cu", "INR")
//.appendQueryParameter("orgid", "000000")
//.appendQueryParameter("mode", "04")
.build();
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setData(UPI);
Intent chooser = Intent.createChooser(intent, "Pay with...");
startActivityForResult(chooser, 1);