Home  >  Q&A  >  body text

Module front-end controller 404 Prestashop 1.7.8

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

P粉561749334P粉561749334237 days ago313

reply all(1)I'll reply

  • P粉593118425

    P粉5931184252024-03-20 00:36:16

    After creating the Validation.php file, you should reset the module. Have you tried resetting the module?

    reply
    0
  • Cancelreply