diff --git a/Block/Redirect/Validate3d.php b/Block/Redirect/Validate3d.php index 1398ebfa5..38825e557 100755 --- a/Block/Redirect/Validate3d.php +++ b/Block/Redirect/Validate3d.php @@ -58,12 +58,11 @@ public function __construct( \Magento\Framework\View\Element\Template\Context $context, array $data = [], \Magento\Sales\Model\OrderFactory $orderFactory, - \Magento\Checkout\Model\Session $checkoutSession, - \Magento\Framework\App\RequestInterface $request + \Magento\Checkout\Model\Session $checkoutSession ) { $this->_orderFactory = $orderFactory; $this->_checkoutSession = $checkoutSession; - $this->_request = $request; + $this->_request = $context->getRequest(); parent::__construct($context, $data); $this->_getOrder(); } @@ -135,4 +134,4 @@ protected function _getRequest() return $this->_request; } -} \ No newline at end of file +} diff --git a/composer.json b/composer.json index d48e7d398..c72982d85 100755 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "adyen/module-payment", "description": "Official Magento2 Plugin to connect to Payment Service Provider Adyen.", "type": "magento2-module", - "version": "1.4.2", + "version": "1.4.3", "license": [ "OSL-3.0", "AFL-3.0" diff --git a/etc/module.xml b/etc/module.xml index cda148f89..e129d86e3 100755 --- a/etc/module.xml +++ b/etc/module.xml @@ -24,7 +24,7 @@ --> - +