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 bc071ac6 authored by attilak's avatar attilak

Handle response from Checkout API redirect

parent c87b795e
......@@ -87,7 +87,6 @@ class Result extends \Magento\Framework\App\Action\Action
$this->_orderHistoryFactory = $orderHistoryFactory;
$this->_session = $session;
$this->_adyenLogger = $adyenLogger;
$this->storeManager = $storeManager;
parent::__construct($context);
}
......@@ -302,7 +301,6 @@ class Result extends \Magento\Framework\App\Action\Action
protected function _authenticate($response)
{
if (!empty($response['merchantSig'])) {
$merchantSigNotification = $response['merchantSig'];
// do it like this because $_GET is converting dot to underscore
......@@ -327,11 +325,8 @@ class Result extends \Magento\Framework\App\Action\Action
if (strcmp($merchantSig, $merchantSigNotification) === 0) {
return true;
}
return false;
} else{
// send the payload verification payment\details request to validate the response
}
return false;
}
......
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