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.')); diff --git a/composer.json b/composer.json index 139cddb6dd3..babeb702fd9 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "mollie/magento2", "description": "Mollie Payment Module for Magento 2", - "version": "1.3.6", + "version": "1.3.7", "require": { "php": "~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2.0", "mollie/mollie-api-php": "^2.0" diff --git a/etc/module.xml b/etc/module.xml index d7eee7376a6..83209988965 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,4 +1,4 @@ - +