Sergio Vargas Posted February 8, 2021 Share Posted February 8, 2021 actually I'm developing a PaymentModule for prestashop 1.7.7 and I want to add some functionalities to the hookActionProductCancel. I try to add it to my main my_module.php file but its not working. public function hookActionProductCancel($params) { Tools::dieObject($params); } Also I register the hook with: public function install() { return parent::install() && $this->registerHook('header') && $this->registerHook('displayPaymentReturn') && $this->registerHook('actionProductCancel') && $this->registerHook('paymentOptions'); } Thanks in advance. Link to comment Share on other sites More sharing options...
Sergio Vargas Posted February 8, 2021 Author Share Posted February 8, 2021 Solved https://github.com/PrestaShop/PrestaShop/issues/20712 updating to PrestaShop 1.7.7.1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now