lnbits / lnurldevice

For offline and online LNURL devices
MIT License
6 stars 7 forks source link

OfflinePoS: Incoming payment not registered if it was initiated by an account on the same LNbits instance #18

Open Liongrass opened 1 year ago

Liongrass commented 1 year ago

Incoming payments to an Offline PoS are not registered by the LNbits account of the PoS, if the sender initiated the payment from an account on the same instance. From the perspective of the payer everything goes well, they can scan the QR code on the OfflinePoS, pay the invoice, they get the correct PIN and the payment is marked as completed. From the perspective of the receiver, they show the QR code, get the correct PIN, release their goods but only see the incoming payment as "pending" until the invoice expires and the payment disappears without a trace.

The OfflinePoS works as expected for all payments initiated from external sources.

Version: LNbits version: 0.10.9, Commit version: e13426a56b579d228e83e59726f5ec8f75846ffe lnurldevice: 0.5.5

Receiver view: Screenshot from 2023-09-02 18-01-24

Sender view: Screenshot from 2023-09-02 18-00-53