<a href="{$link->getModuleLink('cashondelivery', 'validation', ['confirm'=> 1], true)|escape:'html'}"
В шаблоне /modules/cashondelivery/views/templates/hook/payment.tpl сразу добавить валидациюКод: [Выделить]<a href="{$link->getModuleLink('cashondelivery', 'validation', ['confirm'=> 1], true)|escape:'html'}"
Tools::redirectLink(__PS_BASE_URI__.'order-confirmation.php?key='.$customer->secure_key.'&id_cart='.(int)$this->context->cart->id.'&id_module='.(int)$this->module->id.'&id_order='.(int)$this->module->currentOrder);
В контроллере /modules/cashondelivery/controllers/front/validation.php есть редирект после оформления заказа?Код: [Выделить]Tools::redirectLink(__PS_BASE_URI__.'order-confirmation.php?key='.$customer->secure_key.'&id_cart='.(int)$this->context->cart->id.'&id_module='.(int)$this->module->id.'&id_order='.(int)$this->module->currentOrder);
Включи показ ошибок.
Fatal error: Uncaught exception 'ImagickException' with message 'NoDecodeDelegateForThisImageFormat `/tmp/magick-35ooWNaF' @ error/constitute.c/ReadImage/544' in /home/c/cl36863/prestashop/public_html/tools/tcpdf/tcpdf.php:8611 Stack trace: #0 /home/c/cl36863/prestashop/public_html/tools/tcpdf/tcpdf.php(8611): Imagick->readimage('/home/c/cl36863...') #1 /home/c/cl36863/prestashop/public_html/tools/tcpdf/tcpdf.php(8078): TCPDF->ImagePngAlpha('/home/c/cl36863...', 10, -7.9645833333333, 220, 46, 77.611111111111, 16.227777777778, 'PNG', '', 'B', false, 300, '', '22b7f0b81d208fe...') #2 /home/c/cl36863/prestashop/public_html/tools/tcpdf/tcpdf.php(23818): TCPDF->Image('/home/c/cl36863...', 10, -7.9645833333333, 77.611111111111, 16.227777777778, '', '', 'B', false, 300, '', false, false, 0, false, false, true) #3 /home/c/cl36863/prestashop/public_html/tools/tcpdf/tcpdf.php(23214): TCPDF->openHTMLTagHandler(Array, 5, true) #4 /home/c/cl36863/prestashop/public_html/tools/tcpdf/tcpdf.php(6724): TCPDF->writeHTML('<cssarray>a:0:{...' in /home/c/cl36863/prestashop/public_html/tools/tcpdf/tcpdf.php on line 8611