Redirection problem on PrestaShop return page
Since version 1.7 of PrestaShop, the Cookie SameSite feature causes a session loss upon return when POST mode is enabled.
2 solutions exist to solve your problem:
Change return mode to GET
To change the return mode :
- Sign in to your PrestaShop Back Office.
- Go to the Modules menu > Module Manager.
- Search for the Lyra module.
- Click on Configure.
- Click on General configuration.
- Search for Return to shop.
- Select GET in the Return mode parameter.
- Click Save.
Disable the Cookie SameSite
If you wish to keep the POST return mode, make the following change:
- Sign in to your PrestaShop Back Office.
- Go to Shop settings > General settings.
- Set Enable SSL to Yes.
- Set Enable SSL on the whole website to Yes.
- Click Save.
- Go to Advanced parameters > Administration.
- Set Cookie SameSite to None.
- Click Save.