This shortcode determines if a subscriber has a credit card on record and checks if the card is valid. Given a valid card, it return 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.
[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]
There is no API function equivalent for this shortcode.