Skip to content

Commit

Permalink
Merge branch 'pr/167' into 5.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin-Magmodules committed Mar 20, 2020
2 parents 4ac2cfc + 497810c commit a571fab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/code/community/Mollie/Mpm/controllers/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ public function paymentAction()
return;
} else {
$this->mollieHelper->setError(self::REDIRECT_ERR_MSG);
$this->mollieHelper->addToLog('error', 'Missing Redirect Url');
$error = sprintf('Missing Redirect Url, increment ID: #%s', $order->getIncrementId());
$this->mollieHelper->addToLog('error', $error);
$this->mollieHelper->restoreCart();
$this->_cancelUnprocessedOrder($order, 'Missing Redirect Url');
$this->_cancelUnprocessedOrder($order, $error);
$this->_redirect('checkout/cart');
return;
}
Expand Down

0 comments on commit a571fab

Please sign in to comment.