phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

Unable to pay over Lightning using BIP(3)21 URI with BOLT 12 offer and label + message parameters

Open ConorOkus opened this issue 1 month ago • 3 comments

This is follow up to https://github.com/ACINQ/phoenix/issues/735#issuecomment-3482170165

Scanning the below QR code results in only attempting to pay the fallback on chain-address

bitcoin:BC1QYLH3U67J673H6Y6ALV70M0PL2YZ53TZHVXGG7U?amount=0.00001&label=sbddesign%3A%20For%20lunch%20Tuesday&message=For%20lunch%20Tuesday&lno=LNO1PG257ENXV4EZQCNEYPE82UM50YNHXGRWDAJX283QFWDPL28QQMC78YMLVHMXCSYWDK5WRJNJ36JRYG488QWLRNZYJCZS
Image

ConorOkus avatar Nov 05 '25 18:11 ConorOkus

The offer contained in the URI is rejected as invalid because it uses a TLV tag 30 which is not understood. Will check if that's on purpose, or a bug.

That's why Phoenix falls back to the on-chain address.

dpad85 avatar Nov 07 '25 17:11 dpad85

So Phoenix's behaviour is normal, TLV 30 is unknown and an even number, so it must be rejected. Do you know what this TLV represents, or where the offer comes from?

dpad85 avatar Nov 10 '25 10:11 dpad85

Thanks for checking this, this it what is currently displayed at https://bitcoinqr.dev/

I can follow up there to get this fixed.

ConorOkus avatar Nov 27 '25 20:11 ConorOkus