Removed UPI app link
This commit is contained in:
parent
a8f3787041
commit
e36d59a31e
@ -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"
|
||||
|
||||
@ -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]}&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));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user