How does the Chrome SameSite cookie policy impact my Magento 1 integration?

Overview

With the recent release of Google Chrome's SameSite Cookie Policy, the newest version of Chrome updated how it handles cookies. As a result, we’ve seen an increase in loan authorization failures for Magento merchants integrated with Affirm. This guide explains how this new policy affects your Affirm integration with Magento and how to resolve any related issues.

How does the SameSite Cookie policy affect my integration?

Chrome’s SameSite Cookie Policy changes the redirect payment method and causes Magento 1 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.

How do I fix this?

In order to resolve this issue you'll need to adjust the Affirm Checkout Flow Type settings to use the modal checkout flow. Because this is the default setting in Magento 2 and Magento 1 has been officially deprecated, we recommend upgrading to Magento 2.

However, if you aren't quite ready to upgrade yet, you'll need to make this change in your admin settings to use the modal flow instead of the redirect flow.

🚧

We strongly recommend making these updates in a staging environment before pushing them to production. If you encounter any issues related to the Affirm plugin, please let us know and we’d be happy to assist.