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?