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

@@ -258,6 +258,11 @@ namespace BTCPayServer.Data
[JsonConverter(typeof(CurrencyValueJsonConverter))]
public CurrencyValue LightningMaxValue { get; set; }
[JsonConverter(typeof(UriJsonConverter))]
public Uri CustomLogo { get; set; }
[JsonConverter(typeof(UriJsonConverter))]
public Uri CustomCSS { get; set; }
public IRateProvider ApplyRateRules(BTCPayNetwork network, IRateProvider rateProvider)
{
if (!PreferredExchange.IsCoinAverage())