我在android应用程序中遇到了Google pay集成(应用内支付)的问题。当我请求进行交易时,即使这是我的第一笔交易,也会收到错误消息“您已经超过了您的银行设置的最大交易金额”。当我尝试直接从Google pay发送amount时,它起作用了。
This是谷歌支付的应用内支付资源。
以下是代码
Uri uri = new Uri.Builder()
.scheme("upi")
.authority("pay")
.appendQueryParameter("pa", upiId) //receiver's upiId
.appendQueryParameter("pn", name) //receiver's name
.appendQueryParameter("tn", transactionNote) // reason for transaction
.appendQueryParameter("am", amount) // amount
.appendQueryParameter("cu", "INR")
.build();
// Intent to call GPay app
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(uri);
intent.setPackage(GOOGLE_PAY_PACKAGE_NAME);
startActivityForResult(intent, GOOGLE_PAY_REQUEST_CODE);我已经在网上浏览了相当多的资源,但没有找到任何解决方案。有什么帮助或建议会很有帮助吗?
发布于 2020-11-02 17:14:38
面临着同样的问题。几个星期前工作得很好。突然停止工作
发布于 2020-11-07 11:06:14
是的,从2020年10月20日起,Google pay应用程序在使用intent call时将显示错误"bank limit exceeded“。解决方案很简单,
意图调用中的
您可以从here查看有关它的完整详细信息。到目前为止,它在Google pay应用程序上运行得很好。
Uri uri = Uri.parse("upi://pay").buildUpon()
.appendQueryParameter("pa", upiId) // google pay business id
.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();发布于 2021-07-25 14:19:42
当我从Intent Call汇款时,我也遇到了同样的问题。
我找到了一个解决方案。如果你寄钱到谷歌支付商业帐户(验证),那么它对我很好。
我建议创建一个G-Pay商业账号,并遵循谷歌的条件进行Vefired。然后.appendQueryParameter("pn",)名称部分中的名称设置您的G-Pay业务UPI。在那之后,它应该工作得很好。
G-Pay业务Id,如此-> xxxxxxxxxx@okbizaxis
我希望你的问题能解决。
注意:发送者G-Pay正常帐户就可以了。但接收方G-Pay账户必须为商务账户。
https://stackoverflow.com/questions/64481458
复制相似问题