mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Merge pull request #1472 from woocommerce/fix-merge
Revert accidentally committed line
This commit is contained in:
commit
619dcb13bd
1 changed files with 1 additions and 1 deletions
|
@ -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' )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue