btcpayserver/BTCPayServer
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
..
Blazor Update notificaiton counter record (#6169) 2024-08-29 12:47:29 +02:00
Components Transactions: Improve TX ID display (#6190) 2024-09-12 10:08:16 +09:00
Configuration Removal of the Altcoins build (#6177) 2024-08-30 08:34:23 +09:00
Controllers Fix divisibility in invoice details of lightning amounts (#6202) 2024-09-12 12:43:08 +09:00
Data Rename PayoutData.Destination (#6197) 2024-09-06 10:34:10 +09:00
Events Invitation process improvements (#6188) 2024-09-12 12:31:57 +09:00
Extensions Removal of the Altcoins build (#6177) 2024-08-30 08:34:23 +09:00
Fido2 UI: Move section navigation to sidebar (#5744) 2024-06-19 15:23:10 +02:00
Filters Domain mapping constraint: Fix .onion case (#5948) 2024-04-24 11:24:00 +09:00
Forms Branding updates for 2.0 (#5947) 2024-05-09 09:18:02 +09:00
HostedServices Fix divisibility in invoice details of lightning amounts (#6202) 2024-09-12 12:43:08 +09:00
Hosting Reindex Invoices table if corrupt, fix migration timeout (#6207) 2024-09-10 17:34:02 +09:00
JsonConverters Branding updates for 2.0 (#5947) 2024-05-09 09:18:02 +09:00
Logging Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
ModelBinders The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
Models Invitation process improvements (#6188) 2024-09-12 12:31:57 +09:00
PaymentRequest Remove Legacy Status from the code (#5982) 2024-05-15 07:49:53 +09:00
Payments Fix divisibility in invoice details of lightning amounts (#6202) 2024-09-12 12:43:08 +09:00
PayoutProcessors Rename PaymentMethod => PaymentMethodId (#6198) 2024-09-06 13:24:33 +09:00
Payouts Add topups to payouts (#6187) 2024-09-02 18:37:39 +09:00
Plugins Allow translations of BTCPay Server Backend by admins (#5662) 2024-07-24 20:16:20 +09:00
Properties Fix Monero development environment with wallet load (#6066) 2024-06-24 15:16:11 +02:00
Security Support Admin being able to view stores (#5782) 2024-03-14 10:25:40 +01:00
Services Fix divisibility in invoice details of lightning amounts (#6202) 2024-09-12 12:43:08 +09:00
SSH Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
Storage POS fixes (#5228) 2023-08-05 10:44:59 +02:00
TagHelpers Add parts of the UI to translate (#6119) 2024-07-25 22:46:02 +09:00
Validation Improve email settings validation and UX (#3891) 2022-06-23 13:41:52 +09:00
Views Fix divisibility in invoice details of lightning amounts (#6202) 2024-09-12 12:43:08 +09:00
wwwroot Transactions: Improve TX ID display (#6190) 2024-09-12 10:08:16 +09:00
_ViewImports.cshtml Allow translations of BTCPay Server Backend by admins (#5662) 2024-07-24 20:16:20 +09:00
APDUVaultTransport.cs Boltcard integration (#5419) 2023-12-06 09:17:58 +09:00
BitpayHttpException.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
BTCPayServer.csproj Removal of the Altcoins build (#6177) 2024-08-30 08:34:23 +09:00
BTCPayServer.ruleset
BufferizedFormFile.cs Dotnet reformat 2023-04-10 11:07:03 +09:00
ColorPalette.cs Payment Request: Improve public view (#5413) 2023-11-20 10:45:43 +09:00
CorsPolicies.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
CurrencyValue.cs [Fix] CurrencyValue parsing shouldn't depend on locale 2021-10-21 19:15:02 +09:00
DefaultRules.cs Recommended exchange to be resolved during Invoice Creation (#5976) 2024-05-13 22:29:42 +09:00
DerivationSchemeParser.cs Fix wallet import (#5695) 2024-01-24 17:49:15 +09:00
DerivationSchemeSettings.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
EventAggregator.cs Stop spamming logs with event aggregator logging 2023-05-19 15:24:20 +09:00
ExplorerClientProvider.cs Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
Extensions.cs Allow translations of BTCPay Server Backend by admins (#5662) 2024-07-24 20:16:20 +09:00
FileTypeDetector.cs Checkout v2: Play sound when invoice is paid (#5113) 2023-07-24 22:57:24 +09:00
GitCommitAttribute.cs Show the git commit of the current build of BTCPay (#4320) 2022-11-22 21:37:07 +09:00
HandlersDictionary.cs Decouple PaymentMethodId from PayoutMethodId (#5944) 2024-05-01 10:22:07 +09:00
IDelay.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
IHasAdditionalData.cs Remove JSON in strings from JObjects (#4703) 2023-02-25 23:34:49 +09:00
JsonHttpException.cs Greenfield: Improve error message, do not use internal lightning node on store's lightning API 2021-12-16 14:27:34 +09:00
Program.cs Add migration logs 2024-09-09 19:03:07 +09:00
Roles.cs Dotnet reformat 2023-04-10 11:07:03 +09:00
SearchString.cs Search: Display text filters in search input (#5986) 2024-05-23 20:22:16 +09:00
StorePolicies.cs Onboarding: Invite new users on store level (#5719) 2024-03-19 14:58:33 +01:00
TransactionComparer.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
UnresolvedUri.cs Greenfield: Add file endpoints and upload (#6075) 2024-07-11 09:28:24 +09:00
UserManagerExtensions.cs Invitation process improvements (#6188) 2024-09-12 12:31:57 +09:00
VaultClient.cs Remove Legacy Status from the code (#5982) 2024-05-15 07:49:53 +09:00
VaultHWITransport.cs Simplify vault logic by introducing a VaultClient (#5434) 2023-10-27 11:54:15 +09:00
WalletId.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
WebsocketExtensions.cs Keep websocket connection alive on notifications and vault 2021-10-05 14:30:01 +09:00
WebSocketHelper.cs Warning if not using 'simple using' 2022-01-14 17:50:29 +09:00
ZoneLimits.cs Add spam rate limits for public invoice endpoints (Fix #3782) (#3889) 2022-06-21 12:33:20 +09:00