Merge pull request #1967 from woocommerce/enable-vault-v3-by-default

Enable vault v3 by default
This commit is contained in:
Emili Castells 2024-01-17 12:50:18 +01:00 committed by GitHub
commit f26a8247d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,14 +55,14 @@ return function ( string $root_dir ): iterable {
if ( apply_filters(
'woocommerce.feature-flags.woocommerce_paypal_payments.card_fields_enabled',
getenv( 'PCP_CARD_FIELDS_ENABLED' ) === '1'
getenv( 'PCP_CARD_FIELDS_ENABLED' ) !== '0'
) ) {
$modules[] = ( require "$modules_dir/ppcp-card-fields/module.php" )();
}
if ( apply_filters(
'woocommerce.feature-flags.woocommerce_paypal_payments.save_payment_methods_enabled',
getenv( 'PCP_SAVE_PAYMENT_METHODS' ) === '1'
getenv( 'PCP_SAVE_PAYMENT_METHODS' ) !== '0'
) ) {
$modules[] = ( require "$modules_dir/ppcp-save-payment-methods/module.php" )();
}