You are here

function CALLBACK_commerce_payment_method_submit_form_validate in Commerce Core 7

Payment method callback; validate callback for the payment submission form.

Parameters

$payment_method: An array of the current settings.

$pane_form: The pane form.

$pane_values: The current values of the pane.

$order: The order object.

$form_parents: The identifier of the base element of the payment pane.

Related topics

File

modules/payment/commerce_payment.api.php, line 230
Hooks provided by the Payment module.

Code

function CALLBACK_commerce_payment_method_submit_form_validate($payment_method, $pane_form, $pane_values, $order, $form_parents = array()) {

  // No example.
}