initializeOrder:before
Runs when the checkout is submitted, before the data is validated. The last point at which you can refuse an order.
'wagnerwagner.merx.initializeOrder:before' => function (Wagnerwagner\Merx\Cart $cart, array $data): void {}
Parameters
| Name | Type | Default |
|---|---|---|
$cart |
Cart |
- |
$data |
array |
- |
Return type
void