Skip to main content

i4w_has_valid_ccard

Usage

This shortcode determines if a subscriber has a credit card on record and checks if the card is valid. Given a valid card, it returns the text/content embedded between tags. If no valid card is on file, it will return the content after the optional ELSE clause.

[ELSE_has_valid_ccard] conditional branching is supported.

Shortcode nesting is NOT supported.

Parameters

None

Example

Shortcode
[i4w_has_valid_ccard]
Great, you have a valid credit card on file.
[ELSE_has_valid_ccard]
Sorry, you don't have a valid credit card on file.
[/i4w_has_valid_ccard]