CartThrob 9 documentation for ExpressionEngine commerce teams Visit CartThrob.com
CartThrob.com

Save Vault Field Value

save_vault_field_value returns the encrypted vault-save token value used by CartThrob checkout flows.

This is an immediate-execution single tag.

See also:

Parameters

This tag has no tag-specific parameters.

Behavior and Constraints

  1. Encrypts the literal value 'y'.
  2. Returns the encrypted token string.
  3. Commonly used as the value for checkout vault-save inputs (VLT).

Examples

Use as hidden input value:

<input type="hidden" name="VLT" value="{exp:cartthrob:save_vault_field_value}" />

Manual checkbox using this value:

<input type="checkbox" name="VLT" value="{exp:cartthrob:save_vault_field_value}" />