romienas Posted December 4, 2013 Share Posted December 4, 2013 Hi, when I got Order details message, I find that there is a warning about secure key: Warning: the secure key is empty, check your payment account before validation What it does mean? Link to comment Share on other sites More sharing options...
vekia Posted December 4, 2013 Share Posted December 4, 2013 can you show this message please? screenshot will be enough Link to comment Share on other sites More sharing options...
romienas Posted December 5, 2013 Author Share Posted December 5, 2013 You can see this message at the bottom Link to comment Share on other sites More sharing options...
vekia Posted December 5, 2013 Share Posted December 5, 2013 really weird, it's related to all payment methods that you've got? Link to comment Share on other sites More sharing options...
romienas Posted December 6, 2013 Author Share Posted December 6, 2013 no, just at one mokejimai.lt module Link to comment Share on other sites More sharing options...
vekia Posted December 6, 2013 Share Posted December 6, 2013 i suppose that problem is strictly related to module, is this addon somewhere available to download? or it's a paid addon? Link to comment Share on other sites More sharing options...
vertix Posted January 29, 2014 Share Posted January 29, 2014 Hello, I've got the same problem but with different payment module Link to comment Share on other sites More sharing options...
kurkastudio Posted March 2, 2014 Share Posted March 2, 2014 I have the same issue in PS 1.5.6.0 . I found code where message is generated. It's in PaymentModule.php file somewhere in validateOrder method. if (!$secure_key) $message .= '<br />'.Tools::displayError('Warning: the secure key is empty, check your payment account before validation'); // Optional message to attach to this order if (isset($message) & !empty($message)) { $msg = new Message(); $message = strip_tags($message, '<br>'); if (Validate::isCleanHtml($message)) { $msg->message = $message; $msg->id_order = intval($order->id); $msg->private = 1; $msg->add(); } } I notice that in most of validateOrder method calls arg $secure_key is retrieved from customer or cart. But I don't have idea, how the values are set there. Link to comment Share on other sites More sharing options...
inweb Posted March 23, 2014 Share Posted March 23, 2014 This error message occurs when validateOrder() method is called with missing secure_key argument. It often happens while using PS 1.3 payment module with PS 1.4 and later. Without looking to payment module source code it is almost impossible to help. Link to comment Share on other sites More sharing options...
CSEpe Posted September 23, 2014 Share Posted September 23, 2014 Same here in the Icepay module.We've gone from v1.4 to prestashop v 1.6 Link to comment Share on other sites More sharing options...
Recommended Posts