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.
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.
Name | Domain & 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
05-31-2024 02:21 AM
@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.
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.
- AFFECTED RESOURCES
1 cookie
Name Domain & 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.
09-10-2024 03:33 AM