Add id token cache key for each user

This commit is contained in:
Emili Castells Guasch 2024-08-06 15:30:50 +02:00
parent a1413782e9
commit b42e9436ae
7 changed files with 15 additions and 62 deletions

View file

@ -71,7 +71,10 @@ export const loadPaypalScript = ( config, onLoaded, onError = null ) => {
}
// Load PayPal script for special case with data-client-token
if ( config.data_client_id?.set_attribute ) {
if (
config.data_client_id?.set_attribute &&
config.vault_v3_enabled !== '1'
) {
dataClientIdAttributeHandler(
scriptOptions,
config.data_client_id,