maestros Posted June 4, 2011 Share Posted June 4, 2011 Hello,I have a strage error during checkout.After I press the 'I confirm my order' link then a "Fatal Error" appears.This is the html source code that I see: <!-- Center --> Fatal error Link to comment Share on other sites More sharing options...
maestros Posted June 4, 2011 Author Share Posted June 4, 2011 While trying to isolate the error I saw that the error is caused when the following statement is executed:cashondelivery/validation.php: $cashOnDelivery->validateOrder((int)($cart->id), _PS_OS_PREPARATION_, $total, $cashOnDelivery->displayName, NULL, array(), NULL, false,$customer->secure_key); Link to comment Share on other sites More sharing options...
maestros Posted June 4, 2011 Author Share Posted June 4, 2011 Can someone tell me please what is the use of the secure_key?I isolated the problem. It is cause here:/classes/PaymentModule.php (101) if ($secure_key !== false AND $secure_key != $cart->secure_key) die(Tools::displayError()); Please, any help is valuable! Link to comment Share on other sites More sharing options...
maestros Posted June 4, 2011 Author Share Posted June 4, 2011 OK I solved the issue. Based on this bug:http://forge.prestashop.com/browse/PSCFI-1272I deleted all my customers using the administration -> Customers and I registered again.Now I can complete the order with success.PS: I could delete my customers because I have no production data yet. Only dummy customer records. 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