organizeitmom Posted March 6, 2012 Share Posted March 6, 2012 Guest checkout is hanging on a clean install of 1.4.7. I noticed this on a site I was setting up and switched from 1-page checkout to regular 5-page guest checkout. I did a fresh install and reproduced the steps using the following steps: 1. Verify that regular guest checkout works by adding an ipod to the cart and checking out by creating an account. 2. Enabled guest checkout, disabled recycled paper and gift wrap. 3. Cleared cookies and added an ipod to the cart 4. Filled out information on first page and clicked 'next'. 5. The system hung at the following URL and page: http://www.organizeitmom.com/order.php?step=2 (this is an internal test site that won't work at the moment). The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. I set everything back to default and verified that regular login allowed regular 5-step checkout, then just enabled guest checkout and got the same results. I also verified that it didn't work in IE9. I also tested with and without SSL and enabled. I am not seeing any errors in the apache error log. Any thoughts on this? Link to comment Share on other sites More sharing options...
organizeitmom Posted March 6, 2012 Author Share Posted March 6, 2012 This could be related to a bug reported here: http://forge.prestashop.com/browse/PSCFI-4984 Link to comment Share on other sites More sharing options...
Guest Posted March 7, 2012 Share Posted March 7, 2012 This just happened to me. In my case I had to regenerate the .htaccess file every time I switched between 5 step checkout and one-page checkout. Using V1.4.7 Try regenerating your .htaccess. Won't hurt. Link to comment Share on other sites More sharing options...
organizeitmom Posted March 7, 2012 Author Share Posted March 7, 2012 I actually deleted the .htaccess file just to test that and didn't get any better results. There is a comment on the ticket above (PSCFI-4984) from one of the developers that I applied. It seems to have fixed the issue. I changed line 271 in OrderController.php from: if (self::$cookie->is_guest) to: if (self::$cookie->is_guest && $this->step != 2) This appears to have solved the issue. I can now place orders as a guest on the 5-step checkout. If I see other issues I'll log them. Link to comment Share on other sites More sharing options...
Guest Posted March 7, 2012 Share Posted March 7, 2012 Thanks for that. I checked mine: if (self::$cookie->is_guest) Tools::redirect('order.php?step=2'); I did not change anything. I'll leave that as is unless I have the same problem. Link to comment Share on other sites More sharing options...
NemoPS Posted March 7, 2012 Share Posted March 7, 2012 Same issue here, frozen forever at step 2, even if inserting all the data Oh btw i tried what organizeitmom suggested, but didn't work Link to comment Share on other sites More sharing options...
Reiskanen Posted March 7, 2012 Share Posted March 7, 2012 Same issue here, frozen forever at step 2, even if inserting all the data Oh btw i tried what organizeitmom suggested, but didn't work quick solution, so that you can continue to selling turn 5-step checkout -> opc http://www.prestashop.com/forums/topic/1590[spam-filter]solved-error-310-neterr-too-many-redirects/ Link to comment Share on other sites More sharing options...
NemoPS Posted March 7, 2012 Share Posted March 7, 2012 Not working either, since the customer is forced to save the settings he inputs, and thus becomes a registered member. Maybe this is some kind of bug, too? Link to comment Share on other sites More sharing options...
Guest Posted March 7, 2012 Share Posted March 7, 2012 Another thing I had to do to ensure a smooth checkout - I'm using IIS, I had to turn off Output Caching. The caching makes the site really fast, but it messes up checkout. Link to comment Share on other sites More sharing options...
JoelWebsites Posted July 13, 2015 Share Posted July 13, 2015 I have the same issue on prestashop 1.6.0.8 Link to comment Share on other sites More sharing options...
Recommended Posts