need help to add in a php code for my osCommerce code to make it active so i can see Authorize and Capture how do i edit that ????
11-19-2011 02:41 PM
FYI, I'm not a php developer.
But looking at the code.
'x_type' => ((MODULE_PAYMENT_AUTHORIZENET_CC_AIM_TRANSACTION_METHOD == 'Capture') ? 'AUTH_CAPTURE' : 'AUTH_ONLY'),
It set the x_type to AUTH_CAPTURE if MODULE_PAYMENT_AUTHORIZENET_CC_AIM_TRANSACTION_METHOD is 'Capture'
So I guess would be change that text and in the array(last line)
tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Transaction Method', 'MODULE_PAYMENT_AUTHORIZENET_CC_AIM_TRANSACTION_METHOD', 'Authorization', 'The processing method to use for each transaction.', '6', '0', 'tep_cfg_select_option(array(\'Authorization\', \'Capture\'), ', now())");
Or just leave it as it, knowing the 'Capture' mean AUTH_CAPTURE.
11-21-2011 06:25 AM
ok but i am having real problems maybe authorize.net should get rid of oscommerce
11-21-2011 02:39 PM