Replace place order text via WC_Gateway

This commit is contained in:
Alex P 2023-11-16 09:38:35 +02:00
parent 3672c5a651
commit 91c6e55f3d
No known key found for this signature in database
GPG key ID: 54487A734A204D71
10 changed files with 14 additions and 191 deletions

View file

@ -98,7 +98,8 @@ return array(
$logger,
$api_shop_country,
$container->get( 'api.endpoint.order' ),
$container->get( 'api.factory.paypal-checkout-url' )
$container->get( 'api.factory.paypal-checkout-url' ),
$container->get( 'wcgateway.place-order-button-text' )
);
},
'wcgateway.credit-card-gateway' => static function ( ContainerInterface $container ): CreditCardGateway {
@ -143,7 +144,8 @@ return array(
$container->get( 'onboarding.environment' ),
$container->get( 'vaulting.repository.payment-token' ),
$container->get( 'woocommerce.logger.woocommerce' ),
$container->get( 'api.factory.paypal-checkout-url' )
$container->get( 'api.factory.paypal-checkout-url' ),
$container->get( 'wcgateway.place-order-button-text' )
);
},
'wcgateway.disabler' => static function ( ContainerInterface $container ): DisableGateways {