i4w_user_creditcards

Usage:

This shortcode produces a table listing of credit cards on file belonging to the logged in contact.

Parameters can be used to display all credit cards, or only valid or expired cards.

Contacts can use this listing to add, modify or remove credit cards from their account.

This shortcode does NOT supports conditional branching with [ELSE_user_creditcards].

Shortcode nesting is NOT supported.

Parameters:

status Is used to filter the list based on “validity” status, which can be ‘all, ‘valid’ or ‘expired’.
Required: No, defaults to ‘all’.

Example:

[i4w_user_creditcards]
Used this way, the shortcode will display all known cards for the logged in contact.
[i4w_user_creditcards status='valid']
The shortcode will use defaults but produce a list of "VALID" creditt cards.
[i4w_user_creditcards status='expired']
The shortcode will use defaults but will only produce a list of expired credit cards.

Notes:

Due to the complex nature of this Ajax/jQuery shortcode, it may only be used once on any given page.

API:

There is no API function equivalent for this shortcode.