pull down to refresh

Not clear how the POS communicates the amount to pay with a static URL. The database behind merchant's account at Coinos awaits one payment at a time?
13 sats \ 1 reply \ @asoltys2 OP 3h
All our Coinos users get a static LNURL like this: https://coinos.io/p/bob
If you visit that URL when there's an active invoice for "bob" created in the last 5 minutes, it will have the minSendable and maxSendable amounts set to the amount of the invoice, otherwise the sender gets to choose how much to pay.
The lnurl at the end there is the encoded version of the static LNURL from above. By passing it at the end of that /ln path we're telling Coinos that we want to pay it.
If you're logged into Coinos with auto-pay turned on for that recipient, it'll just get paid immediately
If you're logged into Coinos but without auto-pay, you'll see a confirmation screen and a "send" button
If you're not logged into Coinos at all, you'll see a QR code and a button to "open wallet" which should launch your Lightning wallet app of choice.
So users don't need to have anything special on their phone to tap the NFC tag. They just have to have NFC enable (which is always the case in iOS) and the link should open in their web browser.
reply
Thank you, very nice UX. You recommend booking all bitcoin transactions as cash sales, but I imagine merchants can't really do that, at least not in Europe. They must use cash machines to collect VAT, and in the end all cash would need to get to the bank, or they have a discrepancy. So they can't really book cash and not receive it. Any best practice advice how your EU clients get around that?
reply