codema.in

UPI Payments

GuidoGuido Sun 15 Dec 2024 12:54PMPublicSeen by 7

Is UPI payment support (https://en.wikipedia.org/wiki/Unified_Payments_Interface) a show stopper for broad use of Phosh / LinuxMobile in India? I've heard people saying so while it seems others are doing just fine without it? Are any solutions or workarounds known to get this going?

Guido

GuidoWed 7 Jan 2026 4:53PM

@Pirate Praveen That's the thing: inconsistent and hard to discover is catastrophic UI. Just add a copy/paste buttons where useful. People are used to it from websites and it works well.

Edit: it's also the kind of thing where you can take a couple of minutes of free time and make a real difference in usability.

Pirate Praveen

Pirate PraveenWed 7 Jan 2026 6:18PM

@Guido For Dino at least, its partly because it was originally designed for desktops and mobile support is still a work in progress. But for USSD in GNOME Calls, adding the buttons directly in the app would make sense as it is primarily targeted at phones/touch screens. But keyboard doing it would already solve this to a large extend.

Pirate Praveen

Pirate PraveenTue 6 Jan 2026 10:08AM

Opened issue for qr scanner (https://github.com/SecUSo/privacy-friendly-qr-scanner/issues/324 as flx1 camera is broken)

Pirate Praveen

Pirate PraveenThu 1 Jan 2026 9:19AM

LibreFin project has reverse engineered the UPI protocol and demonstrated successful payment using command line https://fossunited.org/c/indiafoss/2025/cfp/c1ujjkgd9c but we still need to make a graphical application.

Badri Sunderarajan

Badri SunderarajanFri 2 Jan 2026 10:16AM

@Pirate Praveen this is on my to-do list. The code is yet to be actually released though.

Pirate Praveen

Pirate PraveenFri 2 Jan 2026 3:09PM

@Badri Sunderarajan would you consider starting it with *99# already? When librefin is available, you can add it as another option. Parts like QR reading, upi id parsing will be common anyway. It can offer two backends, one with ussd and another with libreinfra.

Pirate Praveen

Pirate PraveenFri 2 Jan 2026 3:09PM

We can submit a grant request to FOSS United.

Badri Sunderarajan

Badri SunderarajanSat 3 Jan 2026 5:05AM

@Pirate Praveen yep I can do that! Would help me (finally) get started with GTK development.

I won't be able to focus properly until at least May due to having other projects lined up. That said, let me check and maybe if other people are interested we can work together. Having a grant would also increase motivation to finish fast 😜

Let me try to block off Sunday for writing grant proposals—this and the Prāv one

Pirate Praveen

Pirate PraveenWed 20 May 2026 9:58PM

@Badri Sunderarajan how about we work on it during the mini deb camp?

I think we can try to break it down to small steps and focus on one step at a time.

  1. A simple app that just has an input box to enter upi url. It then shows upi id and amount as separate text with a copy button.

  2. If it finds a upi url in the clipboard, it can directly show the results. So once QR is scanned (millipixels or furios camera or a QR scanner in waydroid) and upi id copied, just opening this app can show the upi id and amount.

  3. Show a pay button that will copy upi id and dial `*99*1*3#` so just paste and send to pay.

Just this much itself improve the experience hugely. With GTK now having android backend we can build an apk from same code, so there will be more interest and users for it. We can ask librefin if they'd like to host this project.

Badri Sunderarajan

Badri SunderarajanThu 21 May 2026 3:43AM

@Pirate Praveen yes that sounds good! I never got the time to properly sit and learn GTK so this will be a good time to do it. (Previously, I've mainly worked with gtkdialog long ago)

Pirate Praveen

Pirate PraveenMon 25 May 2026 10:04AM

@Badri Sunderarajan I managed to automate it with grep https://wiki.fsci.in/NUUP#Automating_scan_to_pay_process Sadiq tried doing it with gtk, but handling clipboard was not working as expected.