Removed UPI app link

This commit is contained in:
sairaj mote 2022-05-11 00:20:30 +05:30
parent a8f3787041
commit e36d59a31e
2 changed files with 0 additions and 7 deletions

View File

@ -745,12 +745,6 @@
<div id="topup_wallet__qr_code"></div>
</div>
<sm-copy id="topup_wallet__upi_id" style="font-weight: 700;"></sm-copy>
<div class="grid">
<a id="topup_wallet__app_link" class="button button--primary">Pay with
supported
UPI apps</a>
<p>*Requires UPI apps installed on device</p>
</div>
</div>
<p>After sending money, please enter the transaction ID of completed transaction.</p>
<sm-input id="topup_wallet__txid" minlength="12" maxlength="12"

View File

@ -44,7 +44,6 @@ function continueWalletTopup() {
let amount = parseFloat(getRef('request_cashier_amount').value.trim());
getRef('topup_wallet__details').innerHTML = `Send <b>${formatAmount(amount)}</b> to UPI ID below`;
getRef('topup_wallet__upi_id').value = cashierUPI[cashier];
getRef('topup_wallet__app_link').href = `upi://pay?pa=${cashierUPI[cashier]}&amp;cu=INR`;
fetch(`https://upiqr.in/api/qr?name=cashier&vpa=${cashierUPI[cashier]}`).then(res => {
res.text().then(data => getRef('topup_wallet__qr_code').innerHTML = data)
.catch(err => console.error(err));