From db7749cb7257be5d7a2e713657bfacccfb4e1235 Mon Sep 17 00:00:00 2001 From: RT3 Date: Tue, 1 Feb 2022 09:52:06 -0600 Subject: [PATCH 1/2] Update 3D Secure Change the 3D SECURE contingency to SCA_ALWAYS --- modules/ppcp-wc-gateway/services.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ppcp-wc-gateway/services.php b/modules/ppcp-wc-gateway/services.php index 57fb1d73d..db6422f7e 100644 --- a/modules/ppcp-wc-gateway/services.php +++ b/modules/ppcp-wc-gateway/services.php @@ -1914,12 +1914,12 @@ return array( ), 'class' => array(), 'input_class' => array( 'wc-enhanced-select' ), - 'default' => $container->get( 'api.shop.is-psd2-country' ) ? '3D_SECURE' : 'NO_3D_SECURE', + 'default' => $container->get( 'api.shop.is-psd2-country' ) ? 'SCA_ALWAYS' : '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' ), 'SCA_WHEN_REQUIRED' => __( '3D Secure when required', 'woocommerce-paypal-payments' ), - '3D_SECURE' => __( 'Always trigger 3D Secure', 'woocommerce-paypal-payments' ), + 'SCA_ALWAYS' => __( 'Always trigger 3D Secure', 'woocommerce-paypal-payments' ), ), 'screens' => array( State::STATE_ONBOARDED, From bb24635e2074aeb5b02dd15200deaae42eb3f6e3 Mon Sep 17 00:00:00 2001 From: RT3 Date: Tue, 1 Feb 2022 10:05:26 -0600 Subject: [PATCH 2/2] Change default to SCA_WHEN_REQUIRED --- modules/ppcp-wc-gateway/services.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ppcp-wc-gateway/services.php b/modules/ppcp-wc-gateway/services.php index db6422f7e..6ab80957f 100644 --- a/modules/ppcp-wc-gateway/services.php +++ b/modules/ppcp-wc-gateway/services.php @@ -1914,7 +1914,7 @@ return array( ), 'class' => array(), 'input_class' => array( 'wc-enhanced-select' ), - 'default' => $container->get( 'api.shop.is-psd2-country' ) ? 'SCA_ALWAYS' : 'NO_3D_SECURE', + 'default' => $container->get( 'api.shop.is-psd2-country' ) ? 'SCA_WHEN_REQUIRED' : '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' ),