CIM recurring billing issue - solution

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

  1. gbourdages

    gbourdages aMember Pro Customer

    Jul 26, 2012
    We were having issue with the Rebill of the invoices for the the 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:

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

    alexander Administrator Staff Member

    Jan 8, 2003
    Yes thanks for the info. This will be added to release.

Share This Page