Jump to content

instant checkout (guest checkout) not working - 403 forbidden


Recommended Posts

When I click continue on guest checkout, it says 403 forbidden. the link it tries to access is

https://bikersalley.ca/index.php?controller=https://bikersalley.ca/index.php?controller=order

 

bikersalley.ca

 

Version 1.5.1. updating to 1.5.2 might not be an option as i modified a theme that said it's only compatible with 1.5.1.

 

Please anyone have any idea how to fix?

Link to comment
Share on other sites

Hello monstercreativestudio,

 

I encountered the same problem while checking out as a guest. If you could, please turn on error reporting.

 

 

Please add define('_PS_MODE_DEV_', true);

in /config/defines.inc.php

 

and

 

@ini_set('display_errors', 'on');

define('_PS_DEBUG_SQL_', true);

in /config/config.inc.php (line 29 and 30 I think)

Link to comment
Share on other sites

  • 1 month later...

i am getting this error on guest checkout but i know what is the most likely cause.

 

Int the variables of the url it declares the back button with a url. if you remove the second https out of it the link it will work. so it is most likely a server security function. But why is there such a url in the url

 

https://www.myshop.co.uk/shop/authentication?multi-shipping=0&display_guest_checkout=1&back=https%3A%2F%2Fwww.myshop.co.uk%2Fshop%2Forder%3Fstep%3D1%26multi-shipping%3D0

 

my host is hostgator.

 

i do not know how to add this to github so if someone can verify and then post to github.

 

also i solved this issue by getting hostgator to whitelist the offending url as it was getting blocked by the mod_security rules

Edited by shoulders (see edit history)
Link to comment
Share on other sites

  • 1 year later...
  • 2 years later...
×
×
  • Create New...