Skip to content

Commit

Permalink
Fixed cancellation message #73
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin-Magmodules committed Sep 12, 2018
1 parent 32f8775 commit 067a5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/Checkout/Success.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function execute()
}
} else {
$this->checkoutSession->restoreQuote();
if (isset($status['status']) && $status['status'] == 'cancel') {
if (isset($status['status']) && $status['status'] == 'canceled') {
$this->messageManager->addNoticeMessage(__('Payment cancelled, please try again.'));
} else {
$this->messageManager->addNoticeMessage(__('Something went wrong.'));
Expand Down

0 comments on commit 067a5d3

Please sign in to comment.