btcpayserver/BTCPayServer/Views/Shared
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 Cleanup v2 leftovers 2024-04-05 18:05:51 +02:00
Crowdfund Add parts of the UI to translate (#6119) 2024-07-25 22:46:02 +09:00
Forms Form invoice amount adjusters (#5158) 2023-07-19 18:54:51 +09:00
LayoutPartials Sync modal: Adjust to Bootstrap changes (#4485) 2022-12-31 09:24:29 +01:00
Lightning Fix divisibility in invoice details of lightning amounts (#6202) 2024-09-12 12:43:08 +09:00
LNURL UI: Move section navigation to sidebar (#5744) 2024-06-19 15:23:10 +02:00
Monero The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
NFC Checkout fixes and improvements (#6181) 2024-09-02 18:20:29 +09:00
PayButton Add parts of the UI to translate (#6119) 2024-07-25 22:46:02 +09:00
PointOfSale UI: Offcanvas fixes 2024-08-20 18:12:32 +02:00
Shopify Add parts of the UI to translate (#6119) 2024-07-25 22:46:02 +09:00
Zcash The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
_BTCPaySupporters.cshtml Removing Strike as BTCPay Foundation supporter and cleaning up old SVGs (#6144) 2024-08-11 13:21:09 -05:00
_Confirm.cshtml Onboarding: Invite new users on store level (#5719) 2024-03-19 14:58:33 +01:00
_Footer.cshtml UI: Move section navigation to sidebar (#5744) 2024-06-19 15:23:10 +02:00
_Form.cshtml Form System Flexibility improvements (#4774) 2023-04-04 11:01:34 +09:00
_FormTopMessages.cshtml Custodian Account UI: CRUD (#3923) 2022-07-07 22:42:50 +09:00
_FormWrap.cshtml Add parts of the UI to translate (#6119) 2024-07-25 22:46:02 +09:00
_Layout.cshtml Policies: Cleanup and improvements (#5731) 2024-02-21 14:43:44 +01:00
_LayoutSignedOut.cshtml Allow translations of BTCPay Server Backend by admins (#5662) 2024-07-24 20:16:20 +09:00
_LayoutSimple.cshtml Can hide the footer of LayoutSimple 2024-05-17 09:28:00 +09:00
_LayoutWizard.cshtml Do not activate Blazor in Wizard screens (#5435) 2023-10-27 10:16:36 +02:00
_StatusMessage.cshtml Pluginize Webhooks and support Payouts (#5421) 2023-12-01 10:50:05 +01:00
_StoreFooterLogo.cshtml Optimizing receipt printing, now works on POS terminal 2023-11-21 06:49:17 -08:00
_StoreHeader.cshtml Branding updates for 2.0 (#5947) 2024-05-09 09:18:02 +09:00
_ValidationScriptsPartial.cshtml UI: Remove highlight for valid fields (#4669) 2023-02-20 19:23:09 +01:00
CameraScanner.cshtml Support bbqr psbts (#5852) 2024-03-21 10:30:23 +01:00
Confirm.cshtml UI: Fix standalone confirmation modal 2023-02-15 16:17:22 +01:00
ConfirmModal.cshtml Fix: Redirecting to local absolute URL in wizard windows should work 2023-04-05 10:55:35 +09:00
CreateOrEditRole.cshtml Add parts of the UI to translate (#6119) 2024-07-25 22:46:02 +09:00
EmailsBody.cshtml UI: Move section navigation to sidebar (#5744) 2024-06-19 15:23:10 +02:00
EmailsTest.cshtml UI: Move section navigation to sidebar (#5744) 2024-06-19 15:23:10 +02:00
Error.cshtml Part 1: OpenIddict - Minor Changes & Config prep (#566) 2019-05-15 00:46:43 +09:00
LayoutFoot.cshtml Bump .NET 8.0 (#5479) 2023-11-21 14:11:17 +09:00
LayoutHead.cshtml Design system and icon updates for 2.0 (#5938) 2024-05-20 08:57:46 +09:00
LayoutHeadStoreBranding.cshtml Branding updates for 2.0 (#5947) 2024-05-09 09:18:02 +09:00
LayoutHeadTheme.cshtml Branding updates for 2.0 (#5947) 2024-05-09 09:18:02 +09:00
ListRoles.cshtml Make Role Permissions more human legible (#6191) 2024-09-12 12:29:10 +09:00
LocalhostBrowserSupport.cshtml Show Warning is browser safari/brave is incompatible with vault on all pages 2023-12-07 14:00:30 +09:00
NotificationEmailWarning.cshtml Store Emails (#3611) 2022-06-22 12:05:32 +09:00
PosData.cshtml Fx pos data additional info (#6172) 2024-09-12 12:27:02 +09:00
PosDataEntry.cshtml Fx pos data additional info (#6172) 2024-09-12 12:27:02 +09:00
PostRedirect.cshtml Fix POST redirect form submit (#5336) 2023-09-22 15:03:57 +09:00
ShowQR.cshtml Design system and icon updates for 2.0 (#5938) 2024-05-20 08:57:46 +09:00
TemplateEditor.cshtml UI: Offcanvas fixes 2024-08-20 18:12:32 +02:00
VaultElements.cshtml Design system and icon updates for 2.0 (#5938) 2024-05-20 08:57:46 +09:00