btcpayserver/BTCPayServer/Controllers/GreenField
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
..
GreenfieldApiKeysController.cs [Greenfield] Allow passing email instead of user id in API (#4732) 2023-03-03 21:24:27 +09:00
GreenfieldAppsController.cs Greenfield: Fix missing delete app policy (#6098) 2024-07-10 22:50:32 +09:00
GreenfieldFilesController.cs Greenfield: Add file endpoints and upload (#6075) 2024-07-11 09:28:24 +09:00
GreenfieldHealthController.cs Rename GreenField -> Greenfield 2022-01-14 13:46:04 +09:00
GreenfieldInvoiceController.cs Rename PaymentMethod => PaymentMethodId (#6198) 2024-09-06 13:24:33 +09:00
GreenfieldLightningNodeApiController.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
GreenfieldLightningNodeApiController.Internal.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
GreenfieldLightningNodeApiController.Store.cs Remove Legacy Status from the code (#5982) 2024-05-15 07:49:53 +09:00
GreenfieldNotificationsController.cs Fix divisibility in invoice details of lightning amounts (#6202) 2024-09-12 12:43:08 +09:00
GreenfieldPaymentRequestsController.cs Branding updates for 2.0 (#5947) 2024-05-09 09:18:02 +09:00
GreenfieldPayoutProcessorsController.cs Decouple PaymentMethodId from PayoutMethodId (#5944) 2024-05-01 10:22:07 +09:00
GreenfieldPullPaymentController.cs Rename PaymentMethod => PaymentMethodId (#6198) 2024-09-06 13:24:33 +09:00
GreenfieldReportsController.cs enhance fine grain permissions (#5502) 2023-12-01 09:12:02 +01:00
GreenfieldServerInfoController.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
GreenfieldServerRolesController.cs Store Custom Roles (#4940) 2023-05-26 23:49:32 +09:00
GreenfieldStoreAutomatedLightningPayoutProcessorsController.cs Rename PaymentMethod => PaymentMethodId (#6198) 2024-09-06 13:24:33 +09:00
GreenfieldStoreAutomatedOnChainPayoutProcessorsController.cs Rename PaymentMethod => PaymentMethodId (#6198) 2024-09-06 13:24:33 +09:00
GreenfieldStoreEmailController.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
GreenfieldStoreLightningAddressesController.cs Greenfield: Add missing invoice metadata to Lightning Address (#6084) 2024-07-04 22:42:02 +09:00
GreenfieldStoreOnChainPaymentMethodsController.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
GreenfieldStoreOnChainPaymentMethodsController.WalletGeneration.cs Greenfield: Can set the label when generating a wallet for store (#6186) 2024-09-02 18:54:15 +09:00
GreenfieldStoreOnChainWalletsController.cs The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
GreenfieldStorePaymentMethodsController.cs Greenfield: Fix payment method update regression (#5932) 2024-04-16 11:32:52 +09:00
GreenfieldStorePayoutProcessorsController.cs Rename PaymentMethod => PaymentMethodId (#6198) 2024-09-06 13:24:33 +09:00
GreenfieldStoreRatesConfigurationController.cs Recommended exchange to be resolved during Invoice Creation (#5976) 2024-05-13 22:29:42 +09:00
GreenfieldStoreRatesController.cs Recommended exchange to be resolved during Invoice Creation (#5976) 2024-05-13 22:29:42 +09:00
GreenfieldStoreRolesController.cs Onboarding: Invite new users on store level (#5719) 2024-03-19 14:58:33 +01:00
GreenfieldStoresController.cs Rename PaymentMethod => PaymentMethodId (#6198) 2024-09-06 13:24:33 +09:00
GreenfieldStoreUsersController.cs Onboarding: Invite new users on store level (#5719) 2024-03-19 14:58:33 +01:00
GreenfieldStoreWebhooksController.cs Make Role Permissions more human legible (#6191) 2024-09-12 12:29:10 +09:00
GreenfieldTestApiKeyController.cs Greenfield: Add file endpoints and upload (#6075) 2024-07-11 09:28:24 +09:00
GreenfieldUsersController.cs Greenfield: Add file endpoints and upload (#6075) 2024-07-11 09:28:24 +09:00
LocalBTCPayServerClient.cs Greenfield: Can set the label when generating a wallet for store (#6186) 2024-09-02 18:54:15 +09:00