function CALLBACK_commerce_payment_method_redirect_form in Commerce Core 7
Payment method callback; generation callback for the payment redirect form.
Returns form elements that should be submitted to the redirected payment service; because of the array merge that happens upon return, the service’s URL that should receive the POST variables should be set in the #action property of the returned form array.
Related topics
File
- modules/
payment/ commerce_payment.api.php, line 260 - Hooks provided by the Payment module.
Code
function CALLBACK_commerce_payment_method_redirect_form($form, &$form_state, $order, $payment_method) {
// No example.
}