Google

Google Pay inside sandboxed iframe for PCI DSS v4 compliance- Google Developers Blog

Jun 10, 2025Dominik Mengelt, Matthew Class
Google Pay inside sandboxed iframe for PCI DSS v4 compliance- Google Developers Blog
SummaryAI, from the source post

This post introduces a method for integrating Google Pay into a PCI DSS v4 compliant checkout page by using a sandboxed iframe. It details the necessary sandbox attribute values (`allow-scripts`, `allow-popups`, `allow-same-origin`, `allow-forms`) and the `allow='payment'` attribute for the iframe. It also highlights Shopify's successful implementation and certification using this approach, emphasizing how it addresses the requirement for managing payment page scripts.

More from the Web Application Security and Best Practices trail