We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 811d8c4b authored by Rik ter Beek's avatar Rik ter Beek

#93 add utm_nooverride in result page for excluding it from referral for analytics

parent b38e649a
......@@ -97,7 +97,7 @@ class Result extends \Magento\Framework\App\Action\Action
if ($result) {
$session = $this->_session;
$session->getQuote()->setIsActive(false)->save();
$this->_redirect('checkout/onepage/success');
$this->_redirect('checkout/onepage/success', ['utm_nooverride' => '1']);
} else {
$this->_cancel($response);
$this->_redirect('checkout/cart');
......
......@@ -95,7 +95,7 @@ class ResultPos extends \Magento\Framework\App\Action\Action
if ($result) {
$session = $this->_session;
$session->getQuote()->setIsActive(false)->save();
$this->_redirect('checkout/onepage/success');
$this->_redirect('checkout/onepage/success', ['utm_nooverride' => '1']);
} else {
$this->_cancel($response);
$this->_redirect('checkout/cart');
......
......@@ -133,7 +133,7 @@ class Validate3d extends \Magento\Framework\App\Action\Action
$order->getPayment()->setAdditionalInformation('3dActive', '');
$this->_orderRepository->save($order);
$this->_redirect('checkout/onepage/success');
$this->_redirect('checkout/onepage/success', ['utm_nooverride' => '1']);
} else {
$order->addStatusHistoryComment(__('3D-secure validation was unsuccessful.'))->save();
$this->_adyenHelper->cancelOrder($order);
......@@ -159,7 +159,7 @@ class Validate3d extends \Magento\Framework\App\Action\Action
$this->_view->renderLayout();
}
} else {
$this->_redirect('checkout/onepage/success/');
$this->_redirect('checkout/onepage/success/', ['utm_nooverride' => '1']);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment