如何在Android应用中的WebView中启用UPI付款部分
我有一个电子商务网站,最后我需要进行付款,其中显示4个UPI付款应用程序选项(BHIM,PHONEPE,GPAY,PAYTM)。但是,当我尝试单击这些UPI应用程序选项按钮时,它会显示错误如网页不可用。 我尝试过URL.startswith(“ UPI”),但它不起作用。...我该如何解决?
I have an e-commerce website where at the end I need to make payment, where it shows 4 UPI payment app options (BHIM,phonePe,gPay,paytm).but when I try to click those UPI app option buttons, it shows error as Webpage not available..webpage at intent://pay?pa=..net: ERR_UNKNOWN_URL_SCHEME ....
I have tried url.startswith("upi") but it is not working.... How can I fix this ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我也找到了它的解决方案。询问chatgpt后,我得到了答案。
在您的WebViewClient类中,添加以下覆盖方法。
I was finding its solution too. I got the answer after asking chatGPT.
in your webViewClient class add following override method.