diff --git a/vendor/magento/module-paypal/Controller/Transparent/Response.php b/vendor/magento/module-paypal/Controller/Transparent/Response.php index efb38cd625c..cf5be0fcbad 100644 --- a/vendor/magento/module-paypal/Controller/Transparent/Response.php +++ b/vendor/magento/module-paypal/Controller/Transparent/Response.php @@ -18,7 +18,7 @@ use Magento\Paypal\Model\Payflow\Service\Response\Transaction; use Magento\Paypal\Model\Payflow\Service\Response\Validator\ResponseValidator; use Magento\Paypal\Model\Payflow\Transparent; use Magento\Sales\Api\PaymentFailuresInterface; -use Magento\Checkout\Model\Session; +use Magento\Framework\Session\SessionManager as Session; use Magento\Framework\App\Action\HttpPostActionInterface; /** @@ -28,8 +28,6 @@ use Magento\Framework\App\Action\HttpPostActionInterface; class Response extends \Magento\Framework\App\Action\Action implements CsrfAwareActionInterface, HttpPostActionInterface { /** - * Core registry - * * @var Registry */ private $coreRegistry; diff --git a/vendor/magento/module-paypal/etc/adminhtml/di.xml b/vendor/magento/module-paypal/etc/adminhtml/di.xml index fea0a45ae68..53610731e78 100644 --- a/vendor/magento/module-paypal/etc/adminhtml/di.xml +++ b/vendor/magento/module-paypal/etc/adminhtml/di.xml @@ -74,4 +74,9 @@ + + + Magento\Framework\Session\Generic + + diff --git a/vendor/magento/module-paypal/etc/di.xml b/vendor/magento/module-paypal/etc/di.xml index 9ea451a213a..0bda87ded5d 100644 --- a/vendor/magento/module-paypal/etc/di.xml +++ b/vendor/magento/module-paypal/etc/di.xml @@ -149,6 +149,7 @@ Magento\Paypal\Model\Payflow\Service\Response\Validator\ResponseValidatorInController + Magento\Checkout\Model\Session