From 067a5d3d2bf01ac2701bbaee5a7fbf684d1ca3da Mon Sep 17 00:00:00 2001 From: Marvin-Magmodules Date: Wed, 12 Sep 2018 12:48:27 +0200 Subject: [PATCH] Fixed cancellation message #73 --- Controller/Checkout/Success.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/Checkout/Success.php b/Controller/Checkout/Success.php index d15af4775d5..d21b5c180c1 100644 --- a/Controller/Checkout/Success.php +++ b/Controller/Checkout/Success.php @@ -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.'));