Require 3DS by default for PSD2 shop countries

This commit is contained in:
Alex P 2021-11-30 14:47:34 +02:00
parent ebabc45dbc
commit 521cbf4e26
2 changed files with 41 additions and 1 deletions

View file

@ -1907,7 +1907,7 @@ return array(
),
'class' => array(),
'input_class' => array( 'wc-enhanced-select' ),
'default' => 'SCA_WHEN_REQUIRED',
'default' => $container->get( 'api.shop.is-psd2-country' ) ? '3D_SECURE' : 'NO_3D_SECURE',
'desc_tip' => true,
'options' => array(
'NO_3D_SECURE' => __( 'No 3D Secure (transaction will be denied if 3D Secure is required)', 'woocommerce-paypal-payments' ),