function commerce_authnet_cim_cardonfile_create_validate in Commerce Authorize.Net 7
Validation callback for card on file create.
1 string reference to 'commerce_authnet_cim_cardonfile_create_validate'
File
- ./
commerce_authnet.module, line 882 - Implements Authorize.Net payment services for use in Drupal Commerce.
Code
function commerce_authnet_cim_cardonfile_create_validate($form, &$form_state) {
$profile = $form_state['commerce_customer_profile'];
field_attach_form_validate('commerce_customer_profile', $profile, $form['commerce_customer_profile'], $form_state);
}