Do not create PayPal order for free trial subscription if user has payment token

This commit is contained in:
Emili Castells Guasch 2024-04-04 16:52:08 +02:00
parent 009878cb2e
commit bc0eb57460
4 changed files with 52 additions and 6 deletions

View file

@ -145,7 +145,8 @@ return array(
$container->get( 'button.early-wc-checkout-validation-enabled' ),
$container->get( 'button.pay-now-contexts' ),
$container->get( 'wcgateway.funding-sources-without-redirect' ),
$container->get('vaulting.vault-v3-enabled'),
$container->get( 'vaulting.vault-v3-enabled' ),
$container->get( 'api.endpoint.payment-tokens' ),
$container->get( 'woocommerce.logger.woocommerce' )
);
},