testing UPI app links

This commit is contained in:
sairaj mote 2022-06-05 17:50:44 +05:30
parent 9013c37e91
commit 27fb44e4b7
2 changed files with 3 additions and 0 deletions

View File

@ -820,6 +820,8 @@
</sm-form>
<sm-form id="confirm_topup_form" class="hide">
<h4>Transfer money</h4>
<a id="pay_by_upi" href="" class="button button--primary">Pay using UPI apps</a>
<div class="text-center">OR</div>
<ol type="1">
<li>
<p>

View File

@ -57,6 +57,7 @@ function continueWalletTopup() {
msg: `upi://pay?pn=FLOPay&pa=${cashierUPI[cashier]}&am=${amount}&tn=${txCode}`,
ecl: 'H'
}))
getRef('pay_by_upi').href = `upi://pay?pn=FLOPay&pa=${cashierUPI[cashier]}&am=${amount}&tn=${txCode}`
showChildElement('topup_wallet_process', 1)
// getRef('topup_wallet__txid').focusIn();
}