Enable subscriptions plugin support, add settings for vaulting

This commit is contained in:
dinamiko 2021-02-15 13:54:42 +01:00
parent 25282da555
commit 6bfb8b2c2a
4 changed files with 73 additions and 14 deletions

View file

@ -89,7 +89,7 @@ document.addEventListener(
}
);
if (PayPalCommerceGateway.data_client_id.set_attribute) {
if (PayPalCommerceGateway.data_client_id.set_attribute || PayPalCommerceGateway.data_client_id.save_paypal_account) {
dataClientIdAttributeHandler(script, PayPalCommerceGateway.data_client_id);
return;
}