mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +08:00
Merge pull request #178 from woocommerce/PCP-114-sca-when-required
set 3DS contingencies to 'SCA_WHEN_REQUIRED'
This commit is contained in:
commit
c8d308ff9b
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class CreditCardRenderer {
|
||||||
const vault = document.getElementById('ppcp-credit-card-vault') ?
|
const vault = document.getElementById('ppcp-credit-card-vault') ?
|
||||||
document.getElementById('ppcp-credit-card-vault').checked : save_card;
|
document.getElementById('ppcp-credit-card-vault').checked : save_card;
|
||||||
hostedFields.submit({
|
hostedFields.submit({
|
||||||
contingencies: ['3D_SECURE'],
|
contingencies: ['SCA_WHEN_REQUIRED'],
|
||||||
vault: vault
|
vault: vault
|
||||||
}).then((payload) => {
|
}).then((payload) => {
|
||||||
payload.orderID = payload.orderId;
|
payload.orderID = payload.orderId;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue