From b341536e42ab296f713f565e43b701632a89a443 Mon Sep 17 00:00:00 2001 From: Kukks Date: Wed, 5 Jun 2024 08:39:43 +0200 Subject: [PATCH] fix shopify --- BTCPayServer/Plugins/Shopify/ShopifyService.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/Plugins/Shopify/ShopifyService.cs b/BTCPayServer/Plugins/Shopify/ShopifyService.cs index 36ad6e344..0efb663a8 100644 --- a/BTCPayServer/Plugins/Shopify/ShopifyService.cs +++ b/BTCPayServer/Plugins/Shopify/ShopifyService.cs @@ -44,9 +44,12 @@ namespace BTCPayServer.Plugins.Shopify protected override async Task ProcessEvent(object evt, CancellationToken cancellationToken) { - if (evt is InvoiceEvent invoiceEvent && !new[] + if (evt is InvoiceEvent invoiceEvent && new[] { - InvoiceEvent.MarkedCompleted, InvoiceEvent.MarkedInvalid, InvoiceEvent.Expired, + InvoiceEvent.MarkedCompleted, + InvoiceEvent.MarkedInvalid, + InvoiceEvent.Expired, + InvoiceEvent.Confirmed, InvoiceEvent.Completed }.Contains(invoiceEvent.Name)) {