cancel
Showing results for 
Search instead for 
Did you mean: 

need help to add in a php code for my osCommerce

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 ????

brevardcountypc
Contributor
11 REPLIES 11

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.

ok but i am having real problems maybe authorize.net should get rid of oscommerce