Variable for Credit Card Expiration?

Discussion in 'Customization & add-ons' started by scott_sm, Nov 30, 2007.

  1. scott_sm

    scott_sm New Member

    Joined:
    Aug 22, 2006
    Messages:
    26
    I would like to create an auto email that, among other things, contains the user's credit card expiration date. What is the variable to display this?

    By the way, I have tried using the variable found in the "card_expires" email template (amemberCP > Setup > Emails > Credit Card Expiration) which is:

    {$expires}

    This variable does not work. It returns this output: "/20" (which is why I have disabled this email template).
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    This will work only for recurring payments (CC info will be stored for active recurring payments only)
    In template you can use {$user.data.cc_expire} or {$member.data.cc_expire}

Share This Page