diff --git a/index.html b/index.html index 30a707b..76036a2 100644 --- a/index.html +++ b/index.html @@ -820,9 +820,22 @@

Transfer money

- Pay using UPI apps +
+ Pay using UPI + apps +

*Only for mobile users with UPI apps installed.
All the required details will be auto + filled.

+
OR
-
    +
    +

    Scan QR code below with an UPI app

    +
    +
    +

    + After sending money, press Confirm. +

    +
    diff --git a/scripts/fn_ui.js b/scripts/fn_ui.js index 0b108fd..292c878 100644 --- a/scripts/fn_ui.js +++ b/scripts/fn_ui.js @@ -46,12 +46,12 @@ function continueWalletTopup() { return notify("No cashier online. Please try again in a while.", 'error'); // const upiId = getRef('select_topup_upi_id').value; const txCode = randomString(6); - getRef('topup_wallet__code').value = txCode; + // getRef('topup_wallet__code').value = txCode; // if (!upiId) // return notify("Please add the UPI ID which you'll use to send the money", 'error'); let amount = parseFloat(getRef('request_cashier_amount').value.trim()); - renderElem(getRef('topup_wallet__details'), html`Enter ${formatAmount(amount)} as amount`); - getRef('topup_wallet__upi_id').value = cashierUPI[cashier]; + // renderElem(getRef('topup_wallet__details'), html`Enter ${formatAmount(amount)} as amount`); + // getRef('topup_wallet__upi_id').value = cashierUPI[cashier]; getRef('topup_wallet__qr_code').innerHTML = '' getRef('topup_wallet__qr_code').append(new QRCode({ msg: `upi://pay?pn=FLOPay&pa=${cashierUPI[cashier]}&am=${amount}&tn=${txCode}`,