I'm developing a custom payment plugin in Prestashop 1.7. I created a callback URL
But the page returns 404 “The page you are looking for cannot be found. ". This is the controller path:
/controllers/front/Validation.php
$callback_url = $this->context->link->getModuleLink($this->name, 'Validation', [], true); $this->context->smarty->assign([ 'callback_url' => $callback_url)];
What's wrong!
thank you for your support
After creating the Validation.php file, you should reset the module. Have you tried resetting the module?