Skip to content

Commit

Permalink
Fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
lruozzi9 committed Aug 5, 2024
1 parent 0425625 commit 39c1554
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Payum/Action/CancelAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/Payum/Action/NotifyAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
));

Expand Down

0 comments on commit 39c1554

Please sign in to comment.