NUUP: Difference between revisions
change bank Tags: Visual edit Mobile edit Mobile web edit Advanced mobile edit |
automate upi payment flow Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
| Line 104: | Line 104: | ||
See https://source.puri.sm/Librem5/millipixels/-/issues/98 for adding support to extract UPI ID in millipixels. | See https://source.puri.sm/Librem5/millipixels/-/issues/98 for adding support to extract UPI ID in millipixels. | ||
<nowiki>{{{</nowiki> | |||
echo Processing UPI url from clipboard ...wl-paste | grep -oP '.*pa=\K.*' | grep -oP '.*?(?=&pn)' | wl-copy -necho Dialing *99*1*3# ...gnome-calls -l '*99*1*3#' | |||
== Collect Requests == | == Collect Requests == | ||
| Line 118: | Line 122: | ||
== Changing bank account == | == Changing bank account == | ||
If you change linked bank account from menu, you may also need to add a upi id or make it primary. *99*4# will have profile option. | If you change linked bank account from menu, you may also need to add a upi id or make it primary. *99*4# will have profile option. | ||
== Automating scan to pay process == | |||
Create `~/upi-pay.sh` | |||
{{{ | |||
echo Processing UPI url from clipboard ... | |||
wl-paste | grep -oP '.*pa=\K.*' | grep -oP '.*?(?=&pn)' | wl-copy -n | |||
echo Dialing *99*1*3# ... | |||
gnome-calls -l '*99*1*3#' | |||
}}} | |||
and `~/.local/share/applications/upi-pay.desktop` | |||
{{{ | |||
[Desktop Entry] | |||
Name=UPI Pay | |||
Version=1.0 | |||
Comment=Pay using *99# ussd upi | |||
GenericName=UPI Payments App | |||
Exec=/usr/bin/env sh -c "~/upi-pay.sh" | |||
Terminal=false | |||
Type=Application | |||
Icon= | |||
}}} | |||
Now scan the QR with your camera app or QR app and copy upi id to clipboard. Then you can open the UPI Pay app, which wiil extract the upi id and bring you directly to enter upi id. Just paste the extracted upi id to proceed with payment. | |||
== Send Feedback to NPCI/BHIM == | == Send Feedback to NPCI/BHIM == | ||