Closed (duplicate)
Project:
Authorize.net Advanced (CIM) Payment Gateway
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2011 at 11:39 UTC
Updated:
20 Jun 2012 at 02:50 UTC
Comments
Comment #1
torgospizzaDid you configure a payment method at admin/store/settings/payment/edit/recurring?
Comment #2
zyxware commentedYes, I configure payment gate in the above url. I am using two payment gate
Paypal and Authorize.net
Comment #3
zyxware commentedPlease give any solution
Comment #4
debrajn commentedI 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;
}
Comment #5
m.stentaThanks! 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.