function uc_authorizenet_form_uc_payment_method_settings_form_alter in Ubercart 7.3
Implements hook_form_FORM_ID_alter() for uc_payment_method_settings_form().
File
- payment/
uc_authorizenet/ uc_authorizenet.module, line 169 - Processes payments using Authorize.net. Supports AIM and ARB.
Code
function uc_authorizenet_form_uc_payment_method_settings_form_alter(&$form, &$form_state) {
if ($form_state['build_info']['args'][0] == 'credit') {
$form['#submit'][] = 'uc_authorizenet_payment_gateway_settings_submit';
}
}