Credit Card recurring Problem

Discussion in 'Payment Systems' started by nwclark, Nov 16, 2010.

  1. nwclark

    nwclark New Member

    Joined:
    Dec 19, 2008
    Messages:
    1
    We give our service to existing clients for one year at no charge. We set up a recurring product with one year free trial. The problem is that I have some existing clients who we do not CC info on. We would like the system to just email them when the trial ends for their credit card info. Is that possible? Can we put in some type of dummy card info? BTW: We use Authorize.net

    Hope someone can help ASAP.

    I really appreciate it!~
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    So as I understood you changed existing product settings and make it to be recurring ?
    You need to use aMember CP -> Setup -> Emails -> Send Automatic emails to send sudh notifications
    Also modify /amember/plugins/payment/cc_core/cc_core.inc.php in order to display renew CC link even if user does not have CC info in file:
    PHP:
    function cc_core_get_member_links($plugin$user){
        global 
    $config;
        
    $action "renew_cc";
        
    $v get_cc_info_hash($user$action);
        if (
    $user['data']['cc'])
            return array(
    "$config[root_surl]/plugins/payment/cc_core/cc.php?action=$action&paysys_id=$plugin&member_id={$user[member_id]}&v=$v=> 'Update CC info');
    }
    change avove function to:
    PHP:
    function cc_core_get_member_links($plugin$user){
        global 
    $config;
        
    $action "renew_cc";
        
    $v get_cc_info_hash($user$action);
            return array(
    "$config[root_surl]/plugins/payment/cc_core/cc.php?action=$action&paysys_id=$plugin&member_id={$user[member_id]}&v=$v=> 'Update CC info');
    }

Share This Page