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

Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

Hook actionPresentPaymentOptions

Informations

Payment options Presenter This hook is called before payment options are presented
Hook actionPresentPaymentOptions
Locations
FO
Type action
Origin core
Aliases

Located in

Origin File
core classes/checkout/PaymentOptionsFinder.php

Parameters details

    <?php
    [
        'paymentOptions' => (array) &$paymentOptions,
    ]

Call of the Hook in the origin file

Hook::exec('actionPresentPaymentOptions',
            ['paymentOptions' => &$paymentOptions]
        )