mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Do not execute current free trial flow if vault v3 enabled
This commit is contained in:
parent
5cdb1bbce0
commit
2bf3c14feb
6 changed files with 37 additions and 9 deletions
|
@ -64,4 +64,7 @@ return array(
|
|||
$container->get( 'woocommerce.logger.woocommerce' )
|
||||
);
|
||||
},
|
||||
'vaulting.vault-v3-enabled' => static function( ContainerInterface $container ): bool {
|
||||
return $container->has( 'save-payment-methods.eligible' ) && $container->get( 'save-payment-methods.eligible' );
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue