mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-03 08:37:53 +08:00
Fix credit card gateway constructor parameters
This commit is contained in:
parent
e36d77fad2
commit
df95276372
2 changed files with 5 additions and 7 deletions
|
@ -93,7 +93,6 @@ return array(
|
|||
$payer_factory = $container->get( 'api.factory.payer' );
|
||||
$order_endpoint = $container->get( 'api.endpoint.order' );
|
||||
$subscription_helper = $container->get( 'subscription.helper' );
|
||||
$logger = $container->get( 'woocommerce.logger.woocommerce' );
|
||||
$payments_endpoint = $container->get( 'api.endpoint.payments' );
|
||||
$logger = $container->get( 'woocommerce.logger.woocommerce' );
|
||||
$environment = $container->get( 'onboarding.environment' );
|
||||
|
@ -114,9 +113,8 @@ return array(
|
|||
$order_endpoint,
|
||||
$subscription_helper,
|
||||
$logger,
|
||||
$payments_endpoint,
|
||||
$logger,
|
||||
$environment
|
||||
$environment,
|
||||
$payments_endpoint
|
||||
);
|
||||
},
|
||||
'wcgateway.disabler' => static function ( $container ): DisableGateways {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue