mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Send 3ds contingency in js
This commit is contained in:
parent
31bd954870
commit
0553ea62bf
2 changed files with 15 additions and 1 deletions
|
@ -104,7 +104,7 @@ class CreditCardRenderer {
|
|||
const vault = document.getElementById('ppcp-credit-card-vault') ?
|
||||
document.getElementById('ppcp-credit-card-vault').checked : save_card;
|
||||
hostedFields.submit({
|
||||
contingencies: ['SCA_WHEN_REQUIRED'],
|
||||
contingencies: [this.defaultConfig.hosted_fields.contingency],
|
||||
vault: vault
|
||||
}).then((payload) => {
|
||||
payload.orderID = payload.orderId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue