From a92fc712c66dfce51e3efb9114d4eb6415f8ac18 Mon Sep 17 00:00:00 2001 From: Danny Date: Wed, 5 Jun 2024 11:28:51 +0200 Subject: [PATCH] AM-130: changed status and action in "additionalUpdates" --- src/Core/Webhook/Handler/AuthorisationHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Webhook/Handler/AuthorisationHandler.php b/src/Core/Webhook/Handler/AuthorisationHandler.php index 8b2b22e..81bfbcc 100644 --- a/src/Core/Webhook/Handler/AuthorisationHandler.php +++ b/src/Core/Webhook/Handler/AuthorisationHandler.php @@ -40,8 +40,8 @@ public function additionalUpdates(Event $event): void $event->getEventDate(), $this->pspReference, $this->parentPspReference, - Module::ADYEN_STATUS_CAPTURED, - Module::ADYEN_ACTION_CAPTURE + Module::ADYEN_STATUS_AUTHORISED, + Module::ADYEN_ACTION_AUTHORIZE ); } }