Allow merchant to customize their checkout page

This commit is contained in:
nicolas.dorier
2018-03-27 15:14:50 +09:00
parent a562e90bdb
commit 26aac66a76
10 changed files with 90 additions and 11 deletions

View File

@@ -213,6 +213,8 @@ namespace BTCPayServer.Controllers
OrderId = invoice.OrderId,
InvoiceId = invoice.Id,
DefaultLang = storeBlob.DefaultLang ?? "en-US",
CustomCSSLink = storeBlob.CustomCSS?.AbsoluteUri,
CustomLogoLink = storeBlob.CustomLogo?.AbsoluteUri,
BtcAddress = paymentMethodDetails.GetPaymentDestination(),
OrderAmount = (accounting.TotalDue - accounting.NetworkFee).ToString(),
BtcDue = accounting.Due.ToString(),