mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Remote internal tags at store level
This commit is contained in:
@@ -91,8 +91,6 @@ namespace BTCPayServer.Controllers
|
|||||||
entity.PaymentTolerance = storeBlob.PaymentTolerance;
|
entity.PaymentTolerance = storeBlob.PaymentTolerance;
|
||||||
if (additionalTags != null)
|
if (additionalTags != null)
|
||||||
entity.InternalTags.AddRange(additionalTags);
|
entity.InternalTags.AddRange(additionalTags);
|
||||||
if (storeBlob.InternalTags != null)
|
|
||||||
entity.InternalTags.AddRange(storeBlob.InternalTags);
|
|
||||||
//Another way of passing buyer info to support
|
//Another way of passing buyer info to support
|
||||||
FillBuyerInfo(invoice.Buyer, entity.BuyerInformation);
|
FillBuyerInfo(invoice.Buyer, entity.BuyerInformation);
|
||||||
if (entity?.BuyerInformation?.BuyerEmail != null)
|
if (entity?.BuyerInformation?.BuyerEmail != null)
|
||||||
|
|||||||
@@ -424,9 +424,6 @@ namespace BTCPayServer.Data
|
|||||||
|
|
||||||
public EmailSettings EmailSettings { get; set; }
|
public EmailSettings EmailSettings { get; set; }
|
||||||
|
|
||||||
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
|
|
||||||
public HashSet<string> InternalTags { get; set; } = new HashSet<string>();
|
|
||||||
|
|
||||||
public IPaymentFilter GetExcludedPaymentMethods()
|
public IPaymentFilter GetExcludedPaymentMethods()
|
||||||
{
|
{
|
||||||
#pragma warning disable CS0618 // Type or member is obsolete
|
#pragma warning disable CS0618 // Type or member is obsolete
|
||||||
|
|||||||
Reference in New Issue
Block a user