Loading src/Plugin/Commerce/PaymentGateway/ExpressCheckoutSubscriptions.php +6 −2 Changes for src/Plugin/Commerce/PaymentGateway/ExpressCheckoutSubscriptions.php: 6 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ use Drupal\commerce_payment\PaymentMethodTypeManager; use Drupal\commerce_payment\PaymentTypeManager; use Drupal\commerce_paypal\IPNHandlerInterface; use Drupal\commerce_price\RounderInterface; use Drupal\commerce_price\MinorUnitsConverterInterface; use Drupal\Component\Datetime\TimeInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Extension\ModuleHandlerInterface; Loading Loading @@ -64,6 +65,8 @@ class ExpressCheckoutSubscriptions extends ExpressCheckout { * The payment method type manager. * @param \Drupal\Component\Datetime\TimeInterface $time * The time. * @param \Drupal\paypal_price\MinorUnitsConverterInterface $minor_units_converter * The minor units converter. * @param \Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_channel_factory * The logger channel factory. * @param \GuzzleHttp\ClientInterface $client Loading @@ -79,8 +82,8 @@ class ExpressCheckoutSubscriptions extends ExpressCheckout { * @param \Drupal\Core\Session\AccountProxyInterface $current_user * The user. */ public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, PaymentTypeManager $payment_type_manager, PaymentMethodTypeManager $payment_method_type_manager, TimeInterface $time, LoggerChannelFactoryInterface $logger_channel_factory, ClientInterface $client, RounderInterface $rounder, IPNHandlerInterface $ip_handler, ModuleHandlerInterface $module_handler, EventDispatcherInterface $event_dispatcher, AccountProxyInterface $current_user) { parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager, $payment_type_manager, $payment_method_type_manager, $time, $logger_channel_factory, $client, $rounder, $ip_handler, $module_handler, $event_dispatcher); public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, PaymentTypeManager $payment_type_manager, PaymentMethodTypeManager $payment_method_type_manager, TimeInterface $time, MinorUnitsConverterInterface $minor_units_converter, LoggerChannelFactoryInterface $logger_channel_factory, ClientInterface $client, RounderInterface $rounder, IPNHandlerInterface $ip_handler, ModuleHandlerInterface $module_handler, EventDispatcherInterface $event_dispatcher, AccountProxyInterface $current_user) { parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager, $payment_type_manager, $payment_method_type_manager, $time, $minor_units_converter, $logger_channel_factory, $client, $rounder, $ip_handler, $module_handler, $event_dispatcher); $this->currentUser = $current_user; } Loading @@ -97,6 +100,7 @@ class ExpressCheckoutSubscriptions extends ExpressCheckout { $container->get('plugin.manager.commerce_payment_type'), $container->get('plugin.manager.commerce_payment_method_type'), $container->get('datetime.time'), $container->get('commerce_price.minor_units_converter'), $container->get('logger.factory'), $container->get('http_client'), $container->get('commerce_price.rounder'), Loading Loading
src/Plugin/Commerce/PaymentGateway/ExpressCheckoutSubscriptions.php +6 −2 Changes for src/Plugin/Commerce/PaymentGateway/ExpressCheckoutSubscriptions.php: 6 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ use Drupal\commerce_payment\PaymentMethodTypeManager; use Drupal\commerce_payment\PaymentTypeManager; use Drupal\commerce_paypal\IPNHandlerInterface; use Drupal\commerce_price\RounderInterface; use Drupal\commerce_price\MinorUnitsConverterInterface; use Drupal\Component\Datetime\TimeInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Extension\ModuleHandlerInterface; Loading Loading @@ -64,6 +65,8 @@ class ExpressCheckoutSubscriptions extends ExpressCheckout { * The payment method type manager. * @param \Drupal\Component\Datetime\TimeInterface $time * The time. * @param \Drupal\paypal_price\MinorUnitsConverterInterface $minor_units_converter * The minor units converter. * @param \Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_channel_factory * The logger channel factory. * @param \GuzzleHttp\ClientInterface $client Loading @@ -79,8 +82,8 @@ class ExpressCheckoutSubscriptions extends ExpressCheckout { * @param \Drupal\Core\Session\AccountProxyInterface $current_user * The user. */ public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, PaymentTypeManager $payment_type_manager, PaymentMethodTypeManager $payment_method_type_manager, TimeInterface $time, LoggerChannelFactoryInterface $logger_channel_factory, ClientInterface $client, RounderInterface $rounder, IPNHandlerInterface $ip_handler, ModuleHandlerInterface $module_handler, EventDispatcherInterface $event_dispatcher, AccountProxyInterface $current_user) { parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager, $payment_type_manager, $payment_method_type_manager, $time, $logger_channel_factory, $client, $rounder, $ip_handler, $module_handler, $event_dispatcher); public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, PaymentTypeManager $payment_type_manager, PaymentMethodTypeManager $payment_method_type_manager, TimeInterface $time, MinorUnitsConverterInterface $minor_units_converter, LoggerChannelFactoryInterface $logger_channel_factory, ClientInterface $client, RounderInterface $rounder, IPNHandlerInterface $ip_handler, ModuleHandlerInterface $module_handler, EventDispatcherInterface $event_dispatcher, AccountProxyInterface $current_user) { parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager, $payment_type_manager, $payment_method_type_manager, $time, $minor_units_converter, $logger_channel_factory, $client, $rounder, $ip_handler, $module_handler, $event_dispatcher); $this->currentUser = $current_user; } Loading @@ -97,6 +100,7 @@ class ExpressCheckoutSubscriptions extends ExpressCheckout { $container->get('plugin.manager.commerce_payment_type'), $container->get('plugin.manager.commerce_payment_method_type'), $container->get('datetime.time'), $container->get('commerce_price.minor_units_converter'), $container->get('logger.factory'), $container->get('http_client'), $container->get('commerce_price.rounder'), Loading