checkout_result

Triggered before data are passed to the browser to display checkout steps and allows modification of those data.

Shop-Script

Input (passed by reference)

$params['data'] array Data passed to the checkout step class instance. Can be modified by plugins.
$params['data']['origin'] string Origin of the checkout class call — 'form' (complete generation of the checkout form), 'calculate' (background updating of individual parts of the form while a customer is changing values in it), or 'create' (final creation of an order after the confirmation).
$params['data']['order'] shopOrder Order properties object.
$params['data']['contact'] waContact Authorized customer properties object.
$params['data']['input'] array Data received from a POST request, session, or another source.
$params['result'] array Values, which will be passed on to the JavaScript code. Can be modified by plugins.
… your plugin code …

Output

Shop-Script