diff --git a/vendor/magento/module-paypal/Controller/Transparent/Response.php b/vendor/magento/module-paypal/Controller/Transparent/Response.php index 05d11cedd03..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\Framework\Session\Generic as 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 032811fbb26..89e3ebbe183 100644 --- a/vendor/magento/module-paypal/etc/adminhtml/di.xml +++ b/vendor/magento/module-paypal/etc/adminhtml/di.xml @@ -69,4 +69,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