Refactor checkoutnow url generation

This commit is contained in:
Alex P 2023-11-14 10:50:56 +02:00
parent ac7779bc41
commit 5c699c24a5
No known key found for this signature in database
GPG key ID: 54487A734A204D71
8 changed files with 82 additions and 38 deletions

View file

@ -97,7 +97,8 @@ return array(
$payment_token_repository,
$logger,
$api_shop_country,
$container->get( 'api.endpoint.order' )
$container->get( 'api.endpoint.order' ),
$container->get( 'api.factory.paypal-checkout-url' )
);
},
'wcgateway.credit-card-gateway' => static function ( ContainerInterface $container ): CreditCardGateway {