mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Add ability to associate custom CSS with a pull payment
This commit is contained in:
@@ -30,7 +30,9 @@ namespace BTCPayServer.Controllers
|
||||
return View(new NewPullPaymentModel()
|
||||
{
|
||||
Name = "",
|
||||
Currency = "BTC"
|
||||
Currency = "BTC",
|
||||
CustomCSSLink = "",
|
||||
EmbeddedCSS = "",
|
||||
});
|
||||
}
|
||||
|
||||
@@ -65,7 +67,9 @@ namespace BTCPayServer.Controllers
|
||||
Amount = model.Amount,
|
||||
Currency = model.Currency,
|
||||
StoreId = walletId.StoreId,
|
||||
PaymentMethodIds = new[] { paymentMethodId }
|
||||
PaymentMethodIds = new[] { paymentMethodId },
|
||||
EmbeddedCSS = model.EmbeddedCSS,
|
||||
CustomCSSLink = model.CustomCSSLink
|
||||
});
|
||||
this.TempData.SetStatusMessageModel(new StatusMessageModel()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user