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.

Lightning payments cannot be detected if `Only enable the payment method after user explicitly chooses it` is selected

See original GitHub issue

Describe the bug A clear and concise description of what the bug is.

To Reproduce the bug Steps to reproduce the reported bug:

  1. Go to Store Settings > Only enable the payment method after the user explicitly chooses it and enable
  2. Have Lightning as a default payment method below a certain amount
  3. Create an invoice
  4. Pay the invoice
  5. The invoice is paid in LN, and the LN node shows it, but BTCPay doesn’t detect the invoice payment at all

Expected behavior

Screenshots

Your BTCPay Environment (please complete the following information):

  • BTCPay Server Version: v1.2.1.0
  • Deployment Method: Docker
  • Browser: Safari

Logs (if applicable)

Nothing I can notice



16/08/2021 17:50:02 | Creation of invoice starting
-- | --
16/08/2021 17:50:02 | BTC_BTC: The rating rule is 1.0
16/08/2021 17:50:02 | BTC_BTC: The evaluated rating rule is 1.0
16/08/2021 17:50:02 | BTC (Off-Chain): Payment method details creation took 0 milliseconds
16/08/2021 17:50:02 | BTC (On-Chain): Payment method details creation took 0 milliseconds
16/08/2021 17:50:02 | Saving invoice took 11 milliseconds
16/08/2021 17:50:02 | Invoice 59FsW2Sizm3Dhoz1r1Ubpa new event: invoice_created (1001)
16/08/2021 17:50:02 | BTC_LightningLike: Activating
16/08/2021 17:50:16 | BTC: Activating
16/08/2021 17:50:16 | BTC (On-Chain): Payjoin is enabled for this invoice.


Setup Parameters

Additional context

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
Kukkscommented, Sep 1, 2021

I think I have found a fix for this in my ongoing LNURL pull request.

On Wed, Sep 1, 2021 at 12:00 PM Pavlenex @.***> wrote:

@cypherbeerus https://github.com/cypherbeerus can you confirm you’re still working on this one?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/btcpayserver/btcpayserver/issues/2779#issuecomment-910129229, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN357VCVCQRR5IYOZ4FWXLT7X2U5ANCNFSM5CIBCCTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

1reaction
pavlenexcommented, Sep 1, 2021

@cypherbeerus informed me he cannot commit to this issue, so he’s no longer assigned to it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Topup invoice shows LN in the checkout -when Only ...
Once again this only happens when Only enable the payment method after user explicitly chooses it is enabled.
Read more >
Lightning payments cannot be detected if `Only enable the ...
1. Go to Store Settings > Only enable the payment method after the user explicitly chooses it and enable · 2. Have Lightning...
Read more >
ACH guide
ACH lets you accept payments from customers with a US bank account. ACH Direct Debit is a reusable, delayed notification payment method.
Read more >
Memphis Light, Gas and Water - Payment Options
MLGW reserves the right to refuse payments from Unauthorized Pay Agents if sufficient account identification is not included with the payment. Any fees...
Read more >
The Saturday Review of Politics, Literature, Science, Art, ...
They must see already that their townsfolk cannot have electric lighting on the ... uncertain , unsafe , and supplied only within certain...
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