diff --git a/BTCPayServer/Views/Invoice/Checkout-Body.cshtml b/BTCPayServer/Views/Invoice/Checkout-Body.cshtml new file mode 100644 index 000000000..fa3d2a1bd --- /dev/null +++ b/BTCPayServer/Views/Invoice/Checkout-Body.cshtml @@ -0,0 +1,554 @@ +@model PaymentModel + +
+
+
+ +
+
+
+
+
+ @Html.Partial("Checkout-Spinner") +
+
+ + {{$t("Awaiting Payment...")}} + +
+
@Model.TimeLeft
+
+
+
+ @if (Model.AvailableCryptos.Count > 1) + { +
+
+
+ {{$t("Pay with")}} +
+
+
+
+ @foreach (var crypto in Model.AvailableCryptos) + { + + @crypto.PaymentMethodId + + } +
+
+ @Html.Partial("Checkout-Spinner") +
+
+
+ } +
+
+
+ {{ srvModel.storeName }} +
+
+ {{ srvModel.itemDesc }} +
+
+
+
+ {{ srvModel.btcDue }} {{ srvModel.cryptoCode }} +
+
+ 1 {{ srvModel.cryptoCode }} = {{ srvModel.rate }} +
+
+ + + +
+ +
+
+
{{$t("Order Amount")}}
+
{{srvModel.orderAmount}} {{ srvModel.cryptoCode }}
+
+
+
+ {{$t("Network Cost")}} +
+
{{srvModel.networkFeeDescription }}
+
+
+
+ {{$t("Already Paid")}} +
+
-{{srvModel.btcPaid }} {{ srvModel.cryptoCode }}
+
+
+
{{$t("Due")}}
+
{{srvModel.btcDue}} {{ srvModel.cryptoCode }}
+
+
+
+
+
+ {{$t("Scan")}} +
+
+ {{$t("Copy")}} +
+ @if (Model.AllowCoinConversion) + { +
+ {{$t("Conversion")}} +
+
+ } + else + { +
+ } +
+
+ +
+
+
+
+ {{$t("Contact and Refund Email")}} +
+
+ + {{$t("Contact_Body")}} + + {{$t("Please enter a valid email address")}} +
+
+ + + + +
+
+
+
+
+ + + +
+ +
+
+
+ {{$t("CompletePay_Body", srvModel)}} +
+
+
+
{{$t("Amount")}}
+ +
+ {{srvModel.btcDue}} {{ srvModel.cryptoCode }} +
+ {{$t("Copied")}} +
+
+ +
+
+
+
+
+
+
{{$t("Address")}}
+ +
+
+ +
{{srvModel.btcAddress}}
+
+
+ {{$t("Copied")}} +
+
+ +
+
+
+
+
+ @if (Model.AllowCoinConversion) + { +
+
+
+ + {{$t("ConversionTab_BodyTop", srvModel)}} +

+ {{$t("ConversionTab_BodyDesc", srvModel)}} +
+
+
+ + + + + + @*Changelly doesn't have TO_AMOUNT support so we can't include it + + + Changelly + *@ +
+
+
+
+ + {{$t("ConversionTab_Lightning")}} + +
+
+
+ } + + + +
+
+ +
+
+
+ This invoice has been archived. +
+
+ Please contact the store for order information or assistance. +
+
+
+ +
+
+
+
What happened?
+
This invoice has expired. An invoice is only valid for @Model.MaxTimeMinutes minutes. You can if you would like to submit your payment again.
+
If you tried to send a payment, it has not yet been accepted by the Bitcoin network. We have not yet received your funds.
+
+ If the transaction + is not accepted by the Bitcoin network, the funds will be spendable + again in your wallet. Depending on your wallet, this may take 48-72 + hours. +
+
+ Invoice ID: {{srvModel.invoiceId}}
+ + + Order ID: {{srvModel.orderId}} + +
+
+ + + Return to {{srvModel.storeName}} + + +
+
+ + @* Obsolete? Start *@ + +
+
+
Contact & Refund Email
+
+ If there is an issue with this payment, or a refund needs to be made, we will contact you at this address. +
+
+ + +
+ +
+
+
+
+
+ There seems to be a problem +
+
+ + This invoice was previously opened, and the address {Entered email address} was submitted as your contact email. If you entered this email, you can still safely make your payment.

+ If you did not submit the email address, it's possible a thief falsely + submitted this address to steal refunds. Please contact the merchant + about this security incident, and try your payment again. +
+
+ + +
+
+
+
+
+
+ Please confirm your address +
+
+ You should receive an email from us in a moment at {enterd refund email}. To ensure your refund is sent to the correct address, please confirm your bitcoin address by clicking the link in the email. +
+ + + +
+
+
+
+
+ + Please provide a refund address. + +
+
+ + + + To send your refund of {BTC to refund} BTC, + we’ll need a bitcoin address from your wallet. Please open your bitcoin + wallet, copy a receiving address, and paste it below. + + + + Please enter a valid bitcoin address. +
+
+ +
+ + +
+
+ + + +
+
+ Cancel +
+
+
+
+
+
+ +
Processing Refund
+ + The amount below will be refunded to you within 1-2 business days. + +
+
+
+
+
+   + Amount To Be Refunded +
+
{BTC Amount} BTC
+
+
+
+
+
+
+
Will Be Refunded To
+
+ +
+
+
+
+
+
+
+
+
+
+
Payment Confirming
+
This payment was made with a low bitcoin miner fee, which may prevent it from being accepted by the Bitcoin network.
+
This is an issue with the configuration of your bitcoin wallet.
+
+ If the transaction + doesn't confirm, the funds will be spendable again in your wallet. + Depending on the wallet, this may take 48-72 hours. +
+ +
+
+
+ +
+
Transaction created
+
+
+
+ +
+
+ Transaction confirming — funds have not yet moved +
+
+
+
+
Payment received by {{srvModel.storeName}}
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ + Refund Complete + +
+
+
+
+
+
+ Overpaid By + + Amount Refunded + +
+
{BTC amount} BTC
+
+
+
+
+
+
+
Refunded To
+
+ +
+
+
+
+
+
+
+ +
+ + @* Obsolete? End *@ +
diff --git a/BTCPayServer/Views/Invoice/Checkout.cshtml b/BTCPayServer/Views/Invoice/Checkout.cshtml index bb5d05343..e5f0ee427 100644 --- a/BTCPayServer/Views/Invoice/Checkout.cshtml +++ b/BTCPayServer/Views/Invoice/Checkout.cshtml @@ -50,554 +50,7 @@ diff --git a/BTCPayServer/wwwroot/js/checkout/langs/en.js b/BTCPayServer/wwwroot/js/checkout/langs/en.js index e38c74a8b..98655c593 100644 --- a/BTCPayServer/wwwroot/js/checkout/langs/en.js +++ b/BTCPayServer/wwwroot/js/checkout/langs/en.js @@ -26,6 +26,7 @@ const locales_en = { "ConversionTab_BodyTop": "You can pay {{btcDue}} {{cryptoCode}} using altcoins other than the ones merchant directly supports.", "ConversionTab_BodyDesc": "This 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.", "Shapeshift_Button_Text": "Pay with Altcoins", + "ConversionTab_Lightning": "No conversion providers available for BTC Lightning Network payments.", // Invoice expired "Invoice expired": "Invoice expired", "What happened?": "What happened?",