mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Refactor checkoutnow url generation
This commit is contained in:
parent
ac7779bc41
commit
5c699c24a5
8 changed files with 82 additions and 38 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue