diff --git a/BTCPayServer/Plugins/NFC/NFCPlugin.cs b/BTCPayServer/Plugins/NFC/NFCPlugin.cs index 22a7c8788..36aa2b3f8 100644 --- a/BTCPayServer/Plugins/NFC/NFCPlugin.cs +++ b/BTCPayServer/Plugins/NFC/NFCPlugin.cs @@ -21,9 +21,9 @@ namespace BTCPayServer.Plugins.NFC "checkout-lightning-post-content")); applicationBuilder.AddSingleton(new UIExtension("NFC/CheckoutEnd", "checkout-v2-end")); - applicationBuilder.AddSingleton(new UIExtension("NFC/LNURLNFCPostContent", + applicationBuilder.AddSingleton(new UIExtension("NFC/LNURLNFCPostContent-v2", "checkout-v2-lightning-post-content")); - applicationBuilder.AddSingleton(new UIExtension("NFC/LNURLNFCPostContent", + applicationBuilder.AddSingleton(new UIExtension("NFC/LNURLNFCPostContent-v2", "checkout-v2-bitcoin-post-content")); base.Execute(applicationBuilder); } diff --git a/BTCPayServer/Views/Shared/NFC/CheckoutEnd.cshtml b/BTCPayServer/Views/Shared/NFC/CheckoutEnd.cshtml index 4920bcadb..ce3069e9d 100644 --- a/BTCPayServer/Views/Shared/NFC/CheckoutEnd.cshtml +++ b/BTCPayServer/Views/Shared/NFC/CheckoutEnd.cshtml @@ -1,42 +1,46 @@ @using BTCPayServer.Abstractions.Extensions -@using Microsoft.AspNetCore.Mvc.TagHelpers @using BTCPayServer.Abstractions.TagHelpers diff --git a/BTCPayServer/Views/Shared/NFC/LNURLNFCPostContent-v2.cshtml b/BTCPayServer/Views/Shared/NFC/LNURLNFCPostContent-v2.cshtml new file mode 100644 index 000000000..a17c0d108 --- /dev/null +++ b/BTCPayServer/Views/Shared/NFC/LNURLNFCPostContent-v2.cshtml @@ -0,0 +1 @@ + diff --git a/BTCPayServer/Views/Shared/NFC/LNURLNFCPostContent.cshtml b/BTCPayServer/Views/Shared/NFC/LNURLNFCPostContent.cshtml index ebbd23bc7..360be2da3 100644 --- a/BTCPayServer/Views/Shared/NFC/LNURLNFCPostContent.cshtml +++ b/BTCPayServer/Views/Shared/NFC/LNURLNFCPostContent.cshtml @@ -1,3 +1 @@ - - - + diff --git a/BTCPayServer/wwwroot/locales/checkout/en.json b/BTCPayServer/wwwroot/locales/checkout/en.json index adb4346fe..4f72ad968 100644 --- a/BTCPayServer/wwwroot/locales/checkout/en.json +++ b/BTCPayServer/wwwroot/locales/checkout/en.json @@ -6,6 +6,8 @@ "view_details": "View Details", "pay_with": "Pay with", "pay_in_wallet": "Pay in wallet", + "pay_by_nfc": "Pay by NFC (LNURL-Withdraw)", + "pay_by_lnurl": "Pay by LNURL-Withdraw", "invoice_id": "Invoice ID", "order_id": "Order ID", "total_price": "Total Price", @@ -30,5 +32,4 @@ "copy_confirm": "Copied", "powered_by": "Powered by", "conversion_body": "You can pay {{btcDue}} {{cryptoCode}} using altcoins other than the ones merchant directly supports.\n\nThis service is provided by 3rd party. Please keep in mind that we have no control over how providers will forward your funds. Invoice will only be marked paid once funds are received on {{cryptoCode}} Blockchain." - }