Extension for Cookie SameSite attribute
veriteworks/cookiefix
This extension is adjusting the Cookie SameSite attribute issue since Chrome 80.
Supported Magento versions: 2.4.9
501,561 installs★ 65 starsLatest: v3.2.2Released 2026-06-04License: OSL-3.0, AFL-3.0
composer require veriteworks/cookiefixREADME
Reproduced from the package’s own README, under its own license, as of 2026-09-13. Links and images point back at the source repository.
This extension is adjusting Cookie SameSite attribute issue since Chrome 80.
NOTICE: this extension is experimental.
Add SameSite attribute into Magento session cookie. For 3DS payment, payment gateways tend to send request via POST to Magento based website. However without SameSite=None for session cookie, Magento cannot continue any PHP session state. This extension set SameSite=None and make customers place order via 3DS payment or other ID integrations.
- composer require veriteworks/cookiefix
- bin/magento module:enable Veriteworks_CookieFix
- bin/magento setup:upgrade
After 3.0.0-beta1, you can change SameSite cookie configuration from admin panel. Go to "Stores > configuration > web" and open cookie section. You can see "SameSite" field. By default, this extension sets SameSite configuration value to limited cookies. If you hope to update the list, please update web/cookie/affected_keys configuration value.
If you have any issues about this extension, open an issue on Github. Technical support question is same.
Any contributions are highly appreciated. Please send me a pull request.
(c) 2020 Veriteworks Inc.
Links
- Packagist
- PackageMaven — quality data by PackageMaven
- Repository
- Issues