Replies: 3 comments 8 replies
-
Help me understand this issue. Is the mobile app the only way to scan the QR code? |
Beta Was this translation helpful? Give feedback.
-
@abhiShandy I see in your notes that you have a checkbox for returning both onchain and lightning responses from the client for unified QRs. I actually think it makes sense to make this the default behaviour (even when the lightning invoice is expired). The reason is in the mobile app (or any front end which uses the client) we could provide feedback to the user for why we are doing certain actions. So for instance if the ln invoice is expired we would receive a response which includes some combination of the below:
That way we could explain to the user that the lightning invoice is expired (because we would have a reason for the invalid status) but that we are falling back to onchain. This would mean adding a new return type to the |
Beta Was this translation helpful? Give feedback.
-
closing. |
Beta Was this translation helpful? Give feedback.
-
Background
Currently when scanning a BIP21 unified QR, the Bitcoin Beach Wallet defaults to paying onchain. Defaulting to Lightning was previously implemented (see: GaloyMoney/galoy-client#42 ) but is no longer working as intended.
For context, view the issue raised by Stephen of Bitcoin Design:
GaloyMoney/blink-mobile#411
Task
Acceptance criteria
Payout
Beta Was this translation helpful? Give feedback.
All reactions