function payment_commerce_submit_form in Payment for Drupal Commerce 7.2
Same name and namespace in other branches
- 7 payment_commerce.module \payment_commerce_submit_form()
Implements Commerce Payment's CALLBACK_submit_form().
File
- ./
payment_commerce.module, line 226 - Hook implementations and shared functions.
Code
function payment_commerce_submit_form($payment_method, $pane_values, $checkout_pane, $order) {
$form['payment_commerce'] = array(
'#process' => array(
'payment_commerce_form_process_submit_form',
),
'#order_id' => $order->order_id,
'#pmid' => str_replace('payment_commerce_', '', $payment_method['method_id']),
);
return $form;
}