Merge pull request #1472 from woocommerce/fix-merge

Revert accidentally committed line
This commit is contained in:
Emili Castells 2023-06-27 15:48:53 +02:00 committed by GitHub
commit 619dcb13bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ return function ( ContainerInterface $container, array $fields ): array {
$settings = $container->get( 'wcgateway.settings' );
assert( $settings instanceof Settings );
$vault_enabled = false;//$settings->has( 'vault_enabled' ) && $settings->get( 'vault_enabled' );
$vault_enabled = $settings->has( 'vault_enabled' ) && $settings->get( 'vault_enabled' );
$pay_later_messaging_enabled_label = $vault_enabled
? __( "You have PayPal vaulting enabled, that's why Pay Later options are unavailable now. You cannot use both features at the same time.", 'woocommerce-paypal-payments' )