Merx

createOrder:before

Runs when the customer comes back from the payment provider, before the payment is captured.

'wagnerwagner.merx.createOrder:before' => function (Wagnerwagner\Merx\OrderPage $virtualOrderPage, array $gateway, array $data): void {}

Parameters

Name Type Default
$virtualOrderPage OrderPage -
$gateway array -
$data array -

Return type

void