How Does the Chrome SameSite Cookie Policy Affect my Adobe Commerce (Magento) Integration?

Aperçu

With the recent release of Google Chrome's SameSite Cookie Policy, the newest version of Chrome updated how it handles cookies. As a result, Affirm will stop working for Chrome users without updating your integration. This guide explains how this new policy affects your Affirm integration with Adobe Commerce (Magento) and how to resolve any related issues.


Comment la politique relative aux témoins de SameSite affecte-t-elle mon intégration?

Chrome’s SameSite Cookie Policy changes the redirect payment method and causes the Adobe Commerce (Magento) sessions to reset when redirecting back to your site from the Affirm checkout. As a result, the session redirects back to an empty cart page and the authorization process fails.


When will Adobe Commerce (Magento) implement a fix for this?

Bien qu'Adobe Commerce n'ait pas établi de calendrier clair, il existe un problème actif sur GitHub à ce sujet. En bref, la solution consisterait à définir le cookie SESSION comme SameSite=None ; Secure pour s'assurer que les requêtes POST provenant de l'extérieur du domaine du site Web transfèrent avec succès les renseignements de session.


Comment puis-je résoudre ce problème?

To fix this issue, you will need to go to your Adobe Commerce (Magento) admin panel and set the Affirm Checkout Flow Type field to Modal.

🚧

Updates in Staging

Nous recommandons fortement d'effectuer ces mises à jour dans un environnement de test avant de les mettre en production. Si vous rencontrez des problèmes liés au plugin Affirm, veuillez nous le faire savoir et nous serons heureux de vous aider.