From 1d6f4ccacfe4024f36a21c6e2bfdbaf32878aefb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=BCsken?= Date: Wed, 29 Jan 2025 12:44:47 +0100 Subject: [PATCH] add klarna methods for filter out again --- src/Payment/MollieOrderService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Payment/MollieOrderService.php b/src/Payment/MollieOrderService.php index a636bb42..42a2fe99 100644 --- a/src/Payment/MollieOrderService.php +++ b/src/Payment/MollieOrderService.php @@ -127,7 +127,7 @@ public function onWebhookAction() return; } - if (in_array($payment->method, ['klarnapaynow'], true) && strpos($paymentId, 'tr_') === 0) { + if (in_array($payment->method, ['klarna', 'klarnapaylater', 'klarnasliceit', 'klarnapaynow'], true) && strpos($paymentId, 'tr_') === 0) { $this->httpResponse->setHttpResponseCode(200); $this->logger->debug($this->gateway->id . ": not respond on transaction webhooks for this payment method. Payment ID {$payment->id}, order ID $order_id"); return;