From 39c1554fbb88b807b721c09cbf69323636f88832 Mon Sep 17 00:00:00 2001 From: Lorenzo Ruozzi Date: Mon, 5 Aug 2024 11:36:33 +0200 Subject: [PATCH] Fix logs --- src/Payum/Action/CancelAction.php | 2 +- src/Payum/Action/NotifyAction.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Payum/Action/CancelAction.php b/src/Payum/Action/CancelAction.php index dcdbc5c..de0e926 100644 --- a/src/Payum/Action/CancelAction.php +++ b/src/Payum/Action/CancelAction.php @@ -54,7 +54,7 @@ public function execute($request): void $paymentDetails = $payment->getDetails(); PaymentDetailsHelper::assertPaymentDetailsAreValid($paymentDetails); - $this->logger->info('Redirecting the user to the Sylius Klarna Payments waiting page.'); + $this->logger->info('Redirecting the user to the Sylius Pagolight waiting page.'); $session = $this->requestStack->getSession(); $session->set(PaymentController::PAYMENT_ID_SESSION_KEY, $paymentId); diff --git a/src/Payum/Action/NotifyAction.php b/src/Payum/Action/NotifyAction.php index af0d14f..de13cb2 100644 --- a/src/Payum/Action/NotifyAction.php +++ b/src/Payum/Action/NotifyAction.php @@ -70,7 +70,7 @@ public function execute($request): void ) { // Throw a 404 to avoid leaking information about the existence of the payment or the correctness of the url $this->logger->info(sprintf( - 'Klarna notification for payment with ID "%s" has incorrect token.', + 'Pagolight notification for payment with ID "%s" has incorrect token.', $paymentId, ));