Filipkiewicz Posted April 20, 2011 Share Posted April 20, 2011 Every time a customer orders something by papal I get arrorAt 2011-04-20 05:35:40 from Private:Paypal Transaction ID: xxxxxxxxxxxxx Warning : the secure key is empty, check your payment account before validationWhen you read a message, please click on the green check.Please help how can I fix that?I am using PS 1.4 and my paypal is 2.4I tried the older versions of paypal but I am getting the same problem Link to comment Share on other sites More sharing options...
Filipkiewicz Posted April 20, 2011 Author Share Posted April 20, 2011 Please helpI really need it to be working fast Link to comment Share on other sites More sharing options...
Mr_PayPal Posted April 20, 2011 Share Posted April 20, 2011 Hello Filipkiewicz,Did you set the API parameters in your PayPal account and in the PayPal module parameters of your back office?Thanks,PayPal_Alban Link to comment Share on other sites More sharing options...
Filipkiewicz Posted April 20, 2011 Author Share Posted April 20, 2011 HelloI am new to Prestashop and I don't really know how to do it Could you please tell me step by step what I have to download and after installing it what I have to do? Link to comment Share on other sites More sharing options...
Mr_PayPal Posted April 20, 2011 Share Posted April 20, 2011 You can find all the step on slideShare on this link :http://www.slideshare.net/PayPal_Demo/prestashop-14-7671884.It's in french bit I'm pretty sure it's not a problem for you.Regards,PayPal_Alban Link to comment Share on other sites More sharing options...
Filipkiewicz Posted April 20, 2011 Author Share Posted April 20, 2011 Thank you for your replyI have followed the steps and now I get this errorNo template found for module PaypalPayment Link to comment Share on other sites More sharing options...
Tomasz Olejnik Posted May 17, 2011 Share Posted May 17, 2011 Hello!I think this is not only PayPal related issue.I have same warning using other online gateways (polish Przelewy24 and platnosci.pl).I have found place where this message is generated, but no clue what I can do to resolve this problem.This is 153 line in file ../classes/PaymentModule.php // Creating order if ($cart->OrderExists() == false) $result = $order->add(); else { $errorMessage = Tools::displayError('An order has already been placed using this cart.'); Logger::addLog($errorMessage, 4, '0000001', 'Cart', intval($order->id_cart)); die($errorMessage); } // Next ! if ($result AND isset($order->id)) { if (!$secure_key) $message .= $this->l('Warning : the secure key is empty, check your payment account before validation'); // Optional message to attach to this order if (isset($message) AND !empty($message)) { $msg = new Message(); $message = strip_tags($message, ' '); if (Validate::isCleanHtml($message)) { $msg->message = $message; $msg->id_order = intval($order->id); $msg->private = 1; $msg->add(); } } Regards. Link to comment Share on other sites More sharing options...
curromad Posted May 25, 2011 Share Posted May 25, 2011 I have the same problem, what´s happening? There is a lot of people with this problem. I can´t continue working in my project! Thanks in advance. Link to comment Share on other sites More sharing options...
SonnyBoyII Posted June 13, 2011 Share Posted June 13, 2011 The same problem after upgrading from ps1.36 to ps1.4.2_5.Im using Barclays EPDQ payment gateway. Link to comment Share on other sites More sharing options...
curromad Posted June 13, 2011 Share Posted June 13, 2011 I come back to my 1.3 prestashop old version and all right properly! Link to comment Share on other sites More sharing options...
Tom_Rufener Posted June 14, 2011 Share Posted June 14, 2011 Same here, I'm getting the message "An order has already been placed using this cart" with all Payment Modules. I just upgraded from 1.3.6 to 1.4.2.5. EDIT: The "out-of-the-box" bankwire module works. Link to comment Share on other sites More sharing options...
kristianmu Posted June 15, 2011 Share Posted June 15, 2011 Same problem with "4b"gateway module. Link to comment Share on other sites More sharing options...
moony1234 Posted July 24, 2011 Share Posted July 24, 2011 Bump, same here randomly, around 1 in 10 orders will give this error. Previously on Presta 1.3.5 and did not have this issue with Paypal... Link to comment Share on other sites More sharing options...
panamapt Posted July 28, 2011 Share Posted July 28, 2011 New to PRESTASHOP and have new 1.4 version. Trying to do a TEST ORDER. Authorisation to PayPal failedPlease refer to logs: 01.PayPal response: 02.-> 03.PayPal returned error Link to comment Share on other sites More sharing options...
Milaus Posted February 12, 2012 Share Posted February 12, 2012 same problem in italian ecommerce with bankwire and 1.4.7.0 prestashop today upgraded from 1.4.6.2 help me Link to comment Share on other sites More sharing options...
Sexycalia Posted September 18, 2012 Share Posted September 18, 2012 the same problem with Prestashop 1.4.5.1 Link to comment Share on other sites More sharing options...
jwzumwalt Posted December 31, 2012 Share Posted December 31, 2012 (edited) I have been plagued by this problem too. After researching it I found a developer that answered someones question about this. The short answer is PS has added a check for a value on the payment module and if the var is not set you get the error - the var is not needed to function properly. They edited and set the var on their modules but 3rd party developers were not notified so the var does not get set. In other words nothing different is happening other than the var was not set and it triggers an error message. The comment is located at http://forge.prestashop.com/browse/PSCFI-2365 Solution: Add the following line before line 153 (see Tomasz Olejnik above)... ../classes/PaymentModule.php // Next! // Var override to prevent obnoxious error $secure_key = 1; Edited December 31, 2012 by jwzumwalt (see edit history) 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