Skip to content

Commit

Permalink
info log instead of error
Browse files Browse the repository at this point in the history
  • Loading branch information
GytisZum committed Nov 18, 2024
1 parent b3f9706 commit 0559ef8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion controllers/front/return.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ public function initContent()
}
if (false === $data['mollie_info']) {
$data['mollie_info'] = [];
$logger->error(sprintf('There is no order with this order number - %s', (string) $orderNumber));
//NOTE: information instead of error as this might occur due to cancellation of the payment
$logger->info(sprintf('There is no order with this order number - %s', (string) $orderNumber));

$data['msg_details'] = $this->module->l('Your payment was not successful. Try again.', self::FILE_NAME);
$this->setWarning($data['msg_details']);
Expand Down

0 comments on commit 0559ef8

Please sign in to comment.