Authorize.net CIM recurring billing issue - solution

Discussion in 'Payment Systems' started by gbourdages, Dec 16, 2012.

  1. gbourdages

    gbourdages New Member

    Joined:
    Jul 26, 2012
    Messages:
    4
    We were having issue with the Rebill of the invoices for the the Authorize.net CIM plugin, it was not rebilling correctly when the "Hosted" option was checked. Basically it was looking at the credit card table and not finding any records it was stopping the rebill. We found a solutions, we just had to set a variable to false when on hosted. You can apply the fix if someone has the same issue. (I hope Amember team will fix this in the future).

    In the plugin /application/cc/plugins/authorize-cim.php go around line 255 just before the Am_Paysystem_AuthorizeCim class closes and add the following function:

    Code:
    public function storesCcInfo()
      {
        if ($this->getConfig('hosted'))
          return false;
        else
          return true;
      }
    This will avoid checking for any stored Credit card on the rebill.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,274
    Yes thanks for the info. This will be added to release.

Share This Page