cancel
Showing results for 
Search instead for 
Did you mean: 

Chrome blocking 3rd-party cookies, should hosted form work?

Hi,

I'm using the Hosted form's IFrameCommunicatorPopup method, and it works in Firefox and Safari, but not on Chrome and Edge, it looks like because they are not accepting 3rd-party cookies whereas Firefox is automatically partitioning them. I must be doing something wrong as this would presumably be a problem facing many people but I don't see any recent mention of it here on the forums. Chrome says:

Third-party cookie will be blocked. Learn more in the Issues tab.

  1. Cookies with the SameSite=None; Secure and not Partitioned attributes that operate in cross-site contexts are third-party cookies. In future Chrome versions, setting third-party cookies will be blocked. This behavior protects user data from cross-site tracking.

    Please refer to the article linked to learn more about preparing your site to avoid potential breakage.

  2. AFFECTED RESOURCES
    1. 1 cookie
      1. NameDomain & Path
        __cfruid.sandbox-assets.secure.checkout.visa.com/

And it looks like Chrome never gets as far as loading my IFrameCommunicatorPopup file. The iframe does get populated with the payment form, but the controller never gets loaded to send the signal to make the popup visible.

Is this perhaps a problem limited only to Sandbox? Or is my setup wrong?

—Adam

engaging
Member
1 REPLY 1

@engaging wrote:

Hi,

I'm using the Hosted form's IFrameCommunicatorPopup method, and it works in Firefox and Safari, but not on Chrome and Edge, it looks like because they are not accepting 3rd-party cookies whereas Firefox is automatically partitioning them. I must be doing something wrong as this would presumably be a problem facing many people but I don't see any recent mention of it here on the forums. Chrome says:

Third-party cookie will be blocked. Learn more in the Issues tab.

  1. Cookies with the SameSite=None; Secure and not Partitioned attributes that operate in cross-site contexts are third-party cookies. In future Chrome versions, setting third-party cookies will be blocked. This behavior protects user data from cross-site tracking.

    Please refer to the article linked to learn more about preparing your site to avoid potential breakage.

  2. AFFECTED RESOURCES
    1. 1 cookie
      1. NameDomain & Path
        __cfruid.sandbox-assets.secure.checkout.visa.com/

And it looks like Chrome never gets as far as loading my IFrameCommunicatorPopup file. The iframe does get populated with the payment form, but the controller never gets loaded to send the signal to make the popup visible.

Is this perhaps a problem limited only to Sandbox? Or is my setup wrong?

—Adam


Chrome and Edge have recently introduced stricter handling of third-party cookies, which can interfere with the functionality of iframes and popups that rely on cross-site communication. To address this, ensure that your cookies are configured with the SameSite=None and Secure attributes, which allow cross-site usage over HTTPS. Additionally, Chrome's cookie partitioning for cross-site contexts can affect functionality, so using the Storage Access API or switching to same-site cookies may help. Testing in a production environment might yield different results, as sandbox environments sometimes behave differently. Check the Issues tab in Chrome’s DevTools for more information about the blocked cookies and potential fixes, and consider contacting the payment provider for guidance if necessary.

KateWinslet
New Member