Add gateway icon, title and description

This commit is contained in:
Emili Castells Guasch 2024-07-22 12:53:41 +02:00
parent e592bbb47b
commit 86e0007ae6
2 changed files with 20 additions and 7 deletions

View file

@ -938,13 +938,14 @@ return array(
esc_html( $button_text )
);
},
'googlepay.wc-gateway' => static function ( ContainerInterface $container ): GooglePayGateway {
'googlepay.wc-gateway' => static function ( ContainerInterface $container ): GooglePayGateway {
return new GooglePayGateway(
$container->get( 'wcgateway.order-processor' ),
$container->get( 'api.factory.paypal-checkout-url' ),
$container->get( 'wcgateway.processor.refunds' ),
$container->get( 'wcgateway.transaction-url-provider' ),
$container->get( 'session.handler' )
$container->get( 'session.handler' ),
$container->get( 'googlepay.url' )
);
},
);