Hi everyone,
I face a google chrome same site problem in OC version 2.2.0.0.
Some third party payment modulo will be failed to work.
The payment modulo's company release a way to fix it.▼
The written way for SameStie Cookie in PHP7.2 (and before 7.2)
header('Set-Cookie: cross-site-cookie=name; SameSite=None; Secure');
But it is not only for Opencart, so i don't how to fix it in oc2.2.0.0
Does anyone knows which file and which line should i put in?
Thanks for the helping.
These new changes seem to also cause this issue: viewtopic.php?f=190&t=220120
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
For PHP 7.3+ the changes will in the link below.
viewtopic.php?f=190&t=216579&start=20#p782590
You also need the following in your php,ini or user.ini.
Or in session.php add:
Just after.
If you can't use PHP 7.3+ try the link below, but read my notes in the post below that one.
viewtopic.php?f=190&t=216579&start=40#p798977
viewtopic.php?f=190&t=216579&start=20#p782590
You also need the following in your php,ini or user.ini.
Code: Select all
session.cookie_secure=On
session.cookie_samesite="None"
Code: Select all
ini_set('session.cookie_secure', 'On');
ini_set('session.cookie_samesite', 'None');
Code: Select all
ini_set('session.cookie_httponly', 'On');
viewtopic.php?f=190&t=216579&start=40#p798977
Who is online
Users browsing this forum: No registered users and 445 guests