I\'m developing an app that accepts Payment using UPI, as per the guidelines provided by the NPCI documentation available at link https://www.npci.org.in/sites/all/t
You can use application native web view instead of opening browser(outside of the application) Seel the create payment request using web.
supportedMethods: "https://tez.google.com/pay"
You need to add the prefix for the UPI PSP
in the deeplink
before invoking in case of iOS
.
e.x. tez://upi/pay?pa=exeex.payu@indus&pn=exexe%20E-Retail%20Private%20Limited&tr=11426866303&tid=NYK-176044-6770938&am=7.00&cu=INR&tn=UPI%20Transaction%20for%20NYK-176044-6770938
According to this article there are big differences between Google Pay in India and rest of the world, so if you want to handle requests from India and rest of the world without Google Pay installed (or if there are other problems with opening upi URL scheme) you need to determine from where payment is initiated. For India solution from AtulParmar should work, and for other places try to use guide from article mentioned above. Native web view may, but not necessarily will help. Good luck!