question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove LNURL-Pay from the checkout page

See original GitHub issue

Describe the bug LNURL-pay doesn’t really make sense on the checkout page and should only be used for offline pos. Too many options in the checkout are confusing for users.

To Reproduce the bug Steps to reproduce the reported bug:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Expected behavior

Screenshots

Your BTCPay Environment (please complete the following information):

  • BTCPay Server Version:
  • Deployment Method:
  • Browser:

Logs (if applicable)

Setup Parameters

Additional context

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
Kukkscommented, Jan 17, 2022

Good point. Haven’t thought about this. Only activate when amount is 0? It’s just weird to have several “bitcoin” options?

This is the default behavior afaik

Checked, it is not. We should change it then.

I propose:

  • we enable lnurl by default when LN is configured
  • NOT enable lnurl when invoice is not a topup invoice as a default
  • We make “Only enable the payment method after user explicitly chooses it” on by default
1reaction
Kukkscommented, Jan 20, 2022

NACK, LNURL Pay is the only option that works for topup invoices in conjunction with lightning.

Getting back to this, it seems that LNRURL isn’t the only option and that amountless invoices have been around for a while. It also seems that whatever security concerns were, they were addressed. We’d have to check this, but if correct, then LNURL-Pay can potentially be removed entirely from the checkout itself and be used for an offline PoS, exciting to see people using this feature already.

We would need to ensure that LN implementations have all included this alteration. Another drawback is potentially bad UX on wallets which will show a payment screen with “0 sats to pay and confirm”

Read more comments on GitHub >

github_iconTop Results From Across the Web

remove google pay button from woocommerce checkout ...
On the checkout page, it shows pay with google pay. How do i remove this? I only have Square setup for payment processing....
Read more >
How to remove express checkout buttons?
In this menu I disabled shop pay, paypal, apple pay and google pay. This solved the problem for me and the express checkout...
Read more >
How do I remove this from my checkout page? : r/Wordpress
I'm using Woocommerce. I've added a coupon code which resulted in this lightbulb being added right next to it. Is there a line...
Read more >
Ben Arc 🏴󠁧󠁢󠁷󠁬󠁳󠁿✊⚡️ (@arcbtc) / X
Made a decentralised @twitter client on the #NOSTR protocol! Post and encrypted DMs with #Schnoor signatures/keys Checkout live here ...
Read more >
SLP407 Ben Arc LNbits: Account System & Extensions for ...
This allows you to operate your own merchant payment processing solution. And Voltage can help you do this really easily.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found