Skip to content

Commit

Permalink
add klarna methods for filter out again
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuesken committed Jan 29, 2025
1 parent 77b8062 commit 1d6f4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Payment/MollieOrderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1d6f4cc

Please sign in to comment.