You are here

function CALLBACK_commerce_payment_method_submit_form in Commerce Core 7

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

Parameters

$payment_method: An array of the current settings.

$pane_values: The current values of the pane.

$checkout_pane: The checkout pane array. The checkout pane will be NULL if the payment is being added through the administration form.

$order: The order object.

Return value

A form snippet for the checkout pane.

Related topics

File

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

Code

function CALLBACK_commerce_payment_method_submit_form($payment_method, $pane_values, $checkout_pane, $order) {

  // No example.
}