btcpayserver/BTCPayServer/Payments
Nicolas Dorier b4946f4db1
Fix divisibility in invoice details of lightning amounts (#6202)
* Fix divisibility in invoice details of lightning amounts

This PR will show 11 decimal in the invoice details for BTC amount
of lightning payment methods.

It also hacks around the fact that some
lightning clients don't create the requested amount of sats, which
resulted in over or under payments. (Blink not supporting msats, and
strike)

Now, In that case, a payment method fee (which can be negative) called tweak fee
will be added to the prompt.

We are also hiding this tweak fee from the user in the checkout page in
order to not disturb the UI with inconsequential fee of 0.000000001 sats.

* Only show 8 digits in checkout, even if amount is 11 digits
2024-09-12 12:43:08 +09:00
..
Bitcoin Fix divisibility in invoice details of lightning amounts (#6202) 2024-09-12 12:43:08 +09:00
Lightning Fix divisibility in invoice details of lightning amounts (#6202) 2024-09-12 12:43:08 +09:00
LNURLPay The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
PayJoin The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
IPaymentFilter.cs Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
IPaymentLinkExtension.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
IPaymentMethodBitpayAPIExtension.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
IPaymentMethodHandler.cs Fix error message if rate unavailable 2024-05-21 22:11:03 +09:00
IPaymentMethodViewExtension.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
IPaymentModelExtension.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
PaymentMethodId.cs Decouple PaymentMethodId from PayoutMethodId (#5944) 2024-05-01 10:22:07 +09:00
PaymentMethodUnavailableException.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
PaymentTypes.cs Removal of the Altcoins build (#6177) 2024-08-30 08:34:23 +09:00