Warning: You are browsing the documentation for PrestaShop 8, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page

Learn how to update to the latest version.

Hook actionPaymentCCAdd

Informations

Payment CC added
Hook actionPaymentCCAdd
Locations
FO
Type action
Origin core
Aliases [paymentCCAdded]
Description

Located in

Origin File
core classes/order/OrderPayment.php

Parameters details

    <?php
    array(
      'paymentCC' => (object) OrderPayment object
    );

Call of the Hook in the origin file

Hook::exec('actionPaymentCCAdd', ['paymentCC' => $this])