From 0bcf6fb977d16080676da52cdc62a24128bb2c1c Mon Sep 17 00:00:00 2001 From: matter Date: Wed, 29 Jun 2022 12:13:58 -0500 Subject: [PATCH] Update InvoiceStatusChangedController.cs Add Status Conditions "Settled" we don't have State "Settled" old btcpay due to the changing in language in btcpayserver settled replaced paid. --- .../InvoiceStatusChanged/InvoiceStatusChangedController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/BtcTransmuter.Extension.BtcPayServer/Triggers/InvoiceStatusChanged/InvoiceStatusChangedController.cs b/BtcTransmuter.Extension.BtcPayServer/Triggers/InvoiceStatusChanged/InvoiceStatusChangedController.cs index 8f13813e..a2dc29be 100644 --- a/BtcTransmuter.Extension.BtcPayServer/Triggers/InvoiceStatusChanged/InvoiceStatusChangedController.cs +++ b/BtcTransmuter.Extension.BtcPayServer/Triggers/InvoiceStatusChanged/InvoiceStatusChangedController.cs @@ -30,6 +30,7 @@ public class InvoiceStatusChangedController : BaseTriggerController< { new SelectListItem() {Text = "New", Value = Invoice.STATUS_NEW}, new SelectListItem() {Text = "Paid", Value = Invoice.STATUS_PAID}, + new SelectListItem() {Text = "Settled", Value = Invoice.STATUS_SETTLED}, new SelectListItem() {Text = "Invalid", Value = Invoice.STATUS_INVALID}, new SelectListItem() {Text = "Confirmed", Value = Invoice.STATUS_CONFIRMED}, new SelectListItem() {Text = "Complete", Value = Invoice.STATUS_COMPLETE},