mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
fix shopify
This commit is contained in:
parent
2c63d16774
commit
b5ade89763
1 changed files with 5 additions and 2 deletions
|
@ -44,9 +44,12 @@ namespace BTCPayServer.Plugins.Shopify
|
||||||
|
|
||||||
protected override async Task ProcessEvent(object evt, CancellationToken cancellationToken)
|
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
|
InvoiceEvent.Completed
|
||||||
}.Contains(invoiceEvent.Name))
|
}.Contains(invoiceEvent.Name))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue