Skip to content

Commit

Permalink
NTR: search for active payment methods only (#717)
Browse files Browse the repository at this point in the history
Co-authored-by: Vitalij Mik <[email protected]>
  • Loading branch information
BlackScorp and Vitalij Mik authored Feb 28, 2024
1 parent a13da65 commit b2eff45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Controller/Storefront/Webhook/NotificationFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
]
)
);
Expand Down

0 comments on commit b2eff45

Please sign in to comment.