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

Blink plugin: BTCPay 2.0.0 incompatibility #60

Open
ndeet opened this issue Sep 6, 2024 · 1 comment
Open

Blink plugin: BTCPay 2.0.0 incompatibility #60

ndeet opened this issue Sep 6, 2024 · 1 comment

Comments

@ndeet
Copy link
Contributor

ndeet commented Sep 6, 2024

see btcpayserver/btcpayserver#6200 the issue seems to come from blink plugin and

@NicolasDorier
Copy link
Contributor

NicolasDorier commented Sep 8, 2024

This will be fixed by btcpayserver/btcpayserver#6202
Basically BTCPay 2.0, use have msat precision for LN, but Blink don't support it. The issue of providers not creating exactly the amount expect isn't limited to Blink, @rockstardev also had the problem with Strike.

As such, I came up with a "hack" where I add a positive or negative paymentMethodFee (I call that a tweakFee) when that happen, that way the amount returned by the lightning client is matching the amount of invoice + fee, and there is no under/over payments.

This fee won't show up in the checkout but nevertheless exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants