PrestaShop Developer Conference
PrestaShop Developer Conference
November 6, 2024
Let's talk code, commerce and open source.

Hook actionPaymentConfirmation

Informations

Payment confirmation This hook displays new elements after the payment is validated
Hook actionPaymentConfirmation
Locations
FO
Type action
Origin core
Aliases [paymentConfirm]

Located in

Origin File
core classes/order/OrderHistory.php

Parameters details

    <?php
    array(
      'id_order' => (int) Order ID
    );

Call of the Hook in the origin file

Hook::exec('actionPaymentConfirmation', ['id_order' => (int) $order->id], null, false, true, false, $order->id_shop)