Extract logic from gateway to modules

This commit is contained in:
Emili Castells Guasch 2024-07-16 17:51:02 +02:00
parent 74f319dd82
commit 335f680344
4 changed files with 33 additions and 35 deletions

View file

@ -941,7 +941,6 @@ return array(
'googlepay.wc-gateway' => static function ( ContainerInterface $container ): GooglePayGateway {
return new GooglePayGateway(
$container->get( 'wcgateway.order-processor' ),
$container->get( 'wc-subscriptions.helper' ),
$container->get( 'api.factory.paypal-checkout-url' ),
$container->get( 'wcgateway.processor.refunds' ),
$container->get( 'wcgateway.transaction-url-provider' ),