diff --git a/BTCPayServer/Controllers/UIInvoiceController.UI.cs b/BTCPayServer/Controllers/UIInvoiceController.UI.cs index 792f60434..3bd859979 100644 --- a/BTCPayServer/Controllers/UIInvoiceController.UI.cs +++ b/BTCPayServer/Controllers/UIInvoiceController.UI.cs @@ -215,6 +215,7 @@ namespace BTCPayServer.Controllers return View(new InvoiceReceiptViewModel { StoreName = store.StoreName, + StoreLogoFileId = store.GetStoreBlob().LogoFileId, Status = i.Status.ToModernStatus(), Amount = payments.Sum(p => p!.Paid), Currency = i.Currency, diff --git a/BTCPayServer/Models/InvoicingModels/InvoiceReceiptViewModel.cs b/BTCPayServer/Models/InvoicingModels/InvoiceReceiptViewModel.cs index b5cadf744..06bfb7c4e 100644 --- a/BTCPayServer/Models/InvoicingModels/InvoiceReceiptViewModel.cs +++ b/BTCPayServer/Models/InvoicingModels/InvoiceReceiptViewModel.cs @@ -13,6 +13,7 @@ namespace BTCPayServer.Models.InvoicingModels public string OrderId { get; set; } public string Currency { get; set; } public string StoreName { get; set; } + public string StoreLogoFileId { get; set; } public decimal Amount { get; set; } public DateTimeOffset Timestamp { get; set; } public Dictionary AdditionalData { get; set; } diff --git a/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml b/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml index 80c03750b..ab68f75c9 100644 --- a/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml +++ b/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml @@ -1,6 +1,6 @@ @model PaymentModel -
+

diff --git a/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml b/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml index c32e87c43..3afd06095 100644 --- a/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml +++ b/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml @@ -50,13 +50,13 @@ } -
-
+
+
@if (!string.IsNullOrEmpty(logoUrl)) { } -

@Model.StoreName

+

@Model.StoreName