From b2eff45fe713d60415554f7d1157e282c11041e2 Mon Sep 17 00:00:00 2001 From: Vitalij Mik Date: Wed, 28 Feb 2024 07:59:35 +0100 Subject: [PATCH] NTR: search for active payment methods only (#717) Co-authored-by: Vitalij Mik --- src/Controller/Storefront/Webhook/NotificationFacade.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Controller/Storefront/Webhook/NotificationFacade.php b/src/Controller/Storefront/Webhook/NotificationFacade.php index b14a1b67a..0bfadd8b9 100644 --- a/src/Controller/Storefront/Webhook/NotificationFacade.php +++ b/src/Controller/Storefront/Webhook/NotificationFacade.php @@ -313,7 +313,8 @@ private function updatePaymentMethod(OrderTransactionEntity $transaction, Order 'AND', [ new ContainsFilter('handlerIdentifier', 'Kiener\MolliePayments\Handler\Method'), - new EqualsFilter('customFields.mollie_payment_method_name', $mollieOrder->method) + new EqualsFilter('customFields.mollie_payment_method_name', $mollieOrder->method), + new EqualsFilter('active', true) ] ) );