function CALLBACK_commerce_payment_method_submit_form_submit 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.
$charge: A price structure that needs to be charged.
Related topics
File
- modules/
payment/ commerce_payment.api.php, line 248 - Hooks provided by the Payment module.
Code
function CALLBACK_commerce_payment_method_submit_form_submit($payment_method, $pane_form, $pane_values, $order, $charge) {
// No example.
}