Customer Can't Check Credit Card on File?

Discussion in 'Payments processing' started by celina, Jun 7, 2010.

  1. celina

    celina Member

    Joined:
    Sep 9, 2008
    Messages:
    86
    Its been a year since I set up amember, and our subscribers are just beginning to auto-renew. I've been tweaking the process (we have a TON of credit card rebill fails), and now email subscribers before their order renews to ask them to check that the credit card is current, after they fail to ask them to update their credit card info, and 10 days before rebill if their card is expired.

    The problem is, if a customer wants to check that the card we are going to charge is unexpired and has funds available, they have no way to do that, do they? When they go to the member area and look at the cc info, there is nothing stored there! They have no way to know what card we have on file, right?

    Is any of the info stored in any variables? the expire date, for instance, or the last 4 numbers of the cc? I am using the Linkpoint plugin.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    This info is not displayed for user, this will be a big security hole, what if someone will hack into user's account?
    If you want to display masked CC number and expirity date you can use these vars in smarty template: {$member.data.cc} {$member.data.cc-expire}
  3. jackgordon

    jackgordon aMember Pro Customer

    Joined:
    Mar 23, 2009
    Messages:
    269
    Alexander,

    It would be nice to give the enduser the ability to update their credit card information, much the same as we are able to do in the admin panel.

    Is that a feature that can be added or done as a custom?
  4. celina

    celina Member

    Joined:
    Sep 9, 2008
    Messages:
    86
    well, what if I just want to show the last 4 digits of the card? would i need to write some sort of function to pull that info from the {$member.data.cc} variable?

    It's just that i send an email to them telling them that their subscription is about to renew and to make sure that their cc info is current, but then when they go to check their cc info, nothing is presented to them, so they have no way of knowing which cc we have on file, and are going to charge. I'm seeing a huge number of rebill failures, so I'm trying to do what I can to fix that.
  5. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    This already should be available for CC payment plugins.
    User can update CC info from member's area but can't see old CC info.
  6. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    You can edit /amember/templates/cc/cc_info.html template and add that variable where you need {$member.data.cc}
  7. celina

    celina Member

    Joined:
    Sep 9, 2008
    Messages:
    86
    thanks so much...the last four digits of the card on file definitely comes up using the variable {$member.data.cc} , but the fields for expiration date should be one for month, and one for year. {$member.data.cc-expire} just displays 0, so it isn't the correct format. what is? one more thing - i only want this to show up when they try to update (so they already have memberships), not when they go to the payment page when they first subscribe. is there a check for that that i can put into smarty? something i can write an if---then for?
  8. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    {$member.data.cc-expire} should work if {$member.data.cc} works.
    Contact me in helpdesk I will check what can be wrong.

    In regards to if you can use this:
    {if $renew_cc}cc number here{/if}
  9. celina

    celina Member

    Joined:
    Sep 9, 2008
    Messages:
    86
    yeah; $member.data.cc-expire returns nothing, and i'm not surprised because i would think that would come as two variables, the same way that it's input: one for month and one for year.
    i'll send a ticket. thanks

Share This Page