0

I'm trying to invoke this google pay payment link from my webpage

<a href="tez://upi/pay?pa=xyz@icici&pn=Abc&tr=ABC202201061504282081&am=1.0&cu=INR&mc=7654"><img src="abc.png" width="100" height="100" ></a>

from mobile chrome browser. If the app is installed then it will directly open in-app. But if it is not installed on the device then after click it will do nothing. So I want to display an alert box if the app is not installed. How I can achieve this?

  • Here's an old question about this issue: https://stackoverflow.com/questions/2872090/how-to-check-if-a-custom-protocol-supported maybe it's useful – ChrisG Jan 12 '22 at 13:56

0 Answers0