protected function PaymentMethodAddForm::validateCreditCardForm in Commerce Authorize.Net 8
Validates the credit card form.
Parameters
array $element: The credit card form element.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the complete form.
Overrides PaymentMethodAddForm::validateCreditCardForm
File
- src/
PluginForm/ AcceptJs/ PaymentMethodAddForm.php, line 250
Class
Namespace
Drupal\commerce_authnet\PluginForm\AcceptJsCode
protected function validateCreditCardForm(array &$element, FormStateInterface $form_state) {
// The JS library performs its own validation.
}