Jump to content

how to get list available payment method in prestashop1.7


Atefeh Hosseini

Recommended Posts

hi.
I want to display the list of active payment method in the shopping cart module that I am designing.


In PrestaShop 1.6, the list of payment methods can be obtained and displayed through the following code.
$hookPay = Hook::exec('displayPayment');

But I don't know how it will be in 1.7? I could not get it through the code below and it shows this error
$hookPay = Hook::exec('paymentOptions');

 I need help🙏

spacer.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...