What is the process amember takes to process recurring transactions?

Discussion in 'Payments processing' started by bfallred, Oct 27, 2010.

  1. bfallred

    bfallred New Member

    Joined:
    Apr 28, 2010
    Messages:
    5
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    What payment plugins you paln to use?
  3. bfallred

    bfallred New Member

    Joined:
    Apr 28, 2010
    Messages:
    5
    Authorize.net CIM

    I am using authorize.net cim as payment processor.

    Please help at earliest.

    Thanks
  4. bfallred

    bfallred New Member

    Joined:
    Apr 28, 2010
    Messages:
    5
    Authorize.net CIM

    I have already few recurring subscriptions active.
    But what if credit card expires and recurring fails.

    Please help at earliest.

    Thanks
  5. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    here is answers to your initial questions:
    Recurring transactions are handled by cron job, once a hour it will check what transactions should be processed(by payments expiration date) and process transactions that were not processed yet. For Auth.CIM CC info will not be stored in database, but cim profile id and cim payment provide id values will be stored.

    Paysystem_id should be authorize_cim, payment should be completed, payment expiration date should be today, and there should not be any other active payments for the same product.

    Depends on Reattempt on Failure settings. (aMember CP -> Setup -> AuthorizeCIM -> Reattempt on Failure)
    If you have that disabled, payment will just expire (email will be sent to user and admin if you have this enabled in Setup -> Email )
    If Reattemp on Failure enabled, payment expiration date will be changed depends on settings so payment will be processed again at later date.


    There is no way to know this. CC info will not be stored in database.


    See above about Reattempt on Failure, if you will not set this, subscription will be disabled automatically.
  6. bfallred

    bfallred New Member

    Joined:
    Apr 28, 2010
    Messages:
    5
  7. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Yes you right. But status will be changed when all subscriptions that user have will expire.
    If you need to check expiration of exact product better to check status in amember_members.data filed.
    Here is example in php:
    PHP:
    include "/amember/config.inc.php";
    $user $db->get_user($member_id);
    if(!
    $user[data][status][1]){
    // User do not have active subsciption to product 1
    }

Share This Page