After enabling uc_recurring module following error is displaying in checkout process.

"A handler for processing and renewing recurring fees cannot be found for the cim payment method.
Your order cannot be completed, because we could not process your recurring payment. Please review your payment details and contact us to complete your order if the problem persists."

Comments

torgospizza’s picture

Did you configure a payment method at admin/store/settings/payment/edit/recurring?

zyxware’s picture

Yes, I configure payment gate in the above url. I am using two payment gate

Paypal and Authorize.net

zyxware’s picture

Please give any solution

debrajn’s picture

I think this is a error & have not been handled in uc cim module. You have to use hook_recurring_info() in uc_cim.module

Below is a exact example, I have implemented and working now very good...If you find suitable, it's great....

/**
* Implementation of hook_recurring_info().
*/
function uc_cim_recurring_info() {
$items['cim'] = array(
'name' => t('CIM Credit card'),
'payment method' => 'cim',
'fee handler' => 'cim',
'module' => 'UC recurring',
'renew callback' => 'uc_recurring_uc_cim_renew',
'process callback' => 'uc_cim_recurring_process',
);
return $items;
}

/**
* Handle recurring fee process callback
*/
function uc_cim_recurring_process($order, &$fee) {
return TRUE;
}

m.stenta’s picture

Status: Active » Closed (duplicate)

Thanks! This code is part of the patch at #925860: uc_cim patches for ubercart 6.x-2.x-dev, uc_recurring 6.x-2.x-dev. Closing this one to focus work on that one.