function CALLBACK_commerce_payment_method_redirect_form_submit in Commerce Core 7
Payment method callback; submission callback for redirected payments.
Upon return from a redirected payment service, this callback provides the payment method an opportunity to perform any submission functions necessary before the customer is redirected to checkout completion.
Parameters
$order: The order object.
$payment_method: The payment method array.
Related topics
File
- modules/
payment/ commerce_payment.api.php, line 312 - Hooks provided by the Payment module.
Code
function CALLBACK_commerce_payment_method_redirect_form_submit($order, $payment_method) {
// No example.
}