Adding setting to CheckoutExperience to pick checkout theme

This commit is contained in:
rockstardev
2020-03-26 18:26:06 -05:00
parent bde8ed7aa2
commit a6ac67963e
8 changed files with 11595 additions and 14 deletions

View File

@@ -231,9 +231,10 @@ namespace BTCPayServer.Controllers
OrderId = invoice.OrderId,
InvoiceId = invoice.Id,
DefaultLang = storeBlob.DefaultLang ?? "en",
HtmlTitle = storeBlob.HtmlTitle ?? "BTCPay Invoice",
CustomCSSLink = storeBlob.CustomCSS,
CustomLogoLink = storeBlob.CustomLogo,
HtmlTitle = storeBlob.HtmlTitle ?? "BTCPay Invoice",
CheckoutTheme = storeBlob.CheckoutTheme ?? "Default",
CryptoImage = Request.GetRelativePathOrAbsolute(paymentMethodHandler.GetCryptoImage(paymentMethodId)),
BtcAddress = paymentMethodDetails.GetPaymentDestination(),
BtcDue = accounting.Due.ToString(),