Fix ApplePay token update

This commit is contained in:
Pedro Silva 2024-01-31 14:59:47 +00:00
parent 8d82e51506
commit 0cf3f946c6
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
2 changed files with 7 additions and 2 deletions

View file

@ -13,7 +13,7 @@ class BaseHandler {
isVaultV3Mode() {
return this.ppcpConfig?.save_payment_methods?.id_token // vault v3
&& ! this.ppcpConfig?.data_client_id?.paypal_subscriptions_enabled // not PayPal Subscriptions mode
&& this.ppcpConfig?.ppcpConfig.can_save_vault_token; // vault is enabled
&& this.ppcpConfig?.can_save_vault_token; // vault is enabled
}
validateContext() {