Hook actionValidateOrderBefore

Informations

Before validating an order This hook is called before validating an order by core
Hook actionValidateOrderBefore
Locations
FO
Type action
Origin core
Aliases
Description This hook is called before validating an order by core

Located in

Origin File
core classes/PaymentModule.php

Call of the Hook in the origin file

Hook::exec('actionValidateOrderBefore', [
            'cart' => $this->context->cart,
            'customer' => $this->context->customer,
            'currency' => $this->context->currency,
            'id_order_state' => &$id_order_state,
            'payment_method' => $payment_method,
        ]);