Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot pay LN invoice for amounts less than 10k sats via BTCPay's unified QR code #321

Closed
yanascz opened this issue Dec 8, 2022 · 5 comments
Assignees
Labels
UI-iOS User Interface issue in the iOS app

Comments

@yanascz
Copy link

yanascz commented Dec 8, 2022

I'm unable to pay 3 857 sats via LN when I scan a unified QR code provided by BTCPay Server. Works fine using Breez.

iPhone 13, iOS 16.1.2, Phoenix 1.5.4

IMG_0954
IMG_0955

Example (already expired) QR code content:

bitcoin:bc1qm60ehg4fl3k7ldq5558pluvtqtmp9culch44t8?amount=0.00003857&LIGHTNING=LNBC38570N1P3ER83SPP5UTWMDA8ZJV6PKZNUAY3TG26VG4U3GG8Z375HFYN9KJNVX2Q6AU4QDRD2PSKJEPQW3HJQ5MPW3HHX6RFF3SKYUEQ9P8HYER9WGSYJ3P6YPCX7UEDV9C8QHEJVF99W52VG3MNGNN6G3GHQ7J20Y656MF3FFSNVMM9V3VJJCQZPGXQZUYSP5SQC77KJ40CG3QSZLNYT78MQLH605RCLMN2D4LDWHXWWJK5Z5GQ9S9QYYSSQ9KUF8ZFN2KG4662FL2ZPFK623TTSMC3LEQRH6LTVUX94ESJR4YHKQE6WCGKSCMF0VKEPHYJQ2CYGCUHA4FFWDSPJX2W4GWMG2K5XPXQPMYE6ZR

Screenshot 2022-12-08 at 9 27 49

@dpad85
Copy link
Member

dpad85 commented Dec 8, 2022

@robbiehanson it seems the iOS app enforces the 10k sat minimum amount for on-chain payments even when the user decided to pay with Lightning.

As a workaround if you still need to pay that invoice, you can dismiss the 10k sat error message by changing the amount then put it back to its initial value of 3857 sat. The error will go away and you should be able to pay.

@dpad85 dpad85 added the UI-iOS User Interface issue in the iOS app label Dec 8, 2022
@yanascz
Copy link
Author

yanascz commented Dec 8, 2022

As a workaround if you still need to pay that invoice, you can dismiss the 10k sat error message by changing the amount then put it back to its initial value of 3857 sat.

Confirmed, works fine as a workaround!

robbiehanson added a commit that referenced this issue Dec 9, 2022
…I reports minimum required amount of 10,000 sat
@robbiehanson
Copy link
Contributor

Thanks for reporting this. The bug has been fixed, and the fix will be available in the next (major) app release: v1.6.0

@prusnak
Copy link

prusnak commented Dec 13, 2022

@robbiehanson Are you 100% sure Unified QR codes are correctly supported on Android (legacy) too?

@dpad85
Copy link
Member

dpad85 commented Dec 14, 2022

Are you 100% sure Unified QR codes are correctly supported on Android (legacy) too?

Yes the Android app supports QR codes that contain a bitcoin address with a lightning parameter, and will let the user choose how the payment is made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI-iOS User Interface issue in the iOS app
Projects
None yet
Development

No branches or pull requests

4 participants