<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mortal</title>
    <description>The latest articles on DEV Community by Mortal (@mortal7520).</description>
    <link>https://dev.to/mortal7520</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4197702%2F79b98918-97bb-42e5-a6bf-07d8e5065abe.png</url>
      <title>DEV Community: Mortal</title>
      <link>https://dev.to/mortal7520</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mortal7520"/>
    <language>en</language>
    <item>
      <title>What your checkout page actually loads — and why it decides your PCI scope</title>
      <dc:creator>Mortal</dc:creator>
      <pubDate>Wed, 21 Oct 2026 07:41:11 +0000</pubDate>
      <link>https://dev.to/mortal7520/what-your-checkout-page-actually-loads-and-why-it-decides-your-pci-scope-31oe</link>
      <guid>https://dev.to/mortal7520/what-your-checkout-page-actually-loads-and-why-it-decides-your-pci-scope-31oe</guid>
      <description>&lt;p&gt;If you take card payments through Stripe, Braintree, Adyen or Shopify Payments, your PCI obligations depend on one question that nobody explains clearly: &lt;strong&gt;does card data ever touch your page, or only the provider's iframe?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Get it right and you are on SAQ A — roughly twenty questions about policies and third parties. Get it wrong and you are on SAQ A-EP or SAQ D — a much longer questionnaire, plus scans and evidence you probably do not have.&lt;/p&gt;

&lt;p&gt;The awkward part is that the answer is not in your code review. It is in what the checkout page loads at runtime: a script injected by an A/B testing tool can put a card field in your DOM without anyone on your team writing &lt;code&gt;input[name="cardnumber"]&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;So I wrote a small extension that reads the page and reports what is there: payment iframes, third-party origins, and any card fields sitting directly on the page. It runs entirely in the tab — no network calls, no storage, no telemetry.&lt;/p&gt;

&lt;p&gt;What it reports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SAQ A likely&lt;/strong&gt; — a known provider iframe (Stripe, Braintree, Adyen, Shopify Payments, PayPal, …) is present and no direct card inputs were found.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SAQ D / A-EP likely&lt;/strong&gt; — card number / CVV / expiry inputs appear directly on the page.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inconclusive&lt;/strong&gt; — custom checkout, shadow DOM, or a page it cannot classify.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It also flags missing HTTPS, mixed content, and multiple live providers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgodufefitl9yp06w4grj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgodufefitl9yp06w4grj.png" alt="PCI Scope Lens popup showing " width="360" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw8chemwjinav4t91w39r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw8chemwjinav4t91w39r.png" alt="Listing image" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Install (manual load, unpacked, v0.1.2): &lt;a href="https://github.com/mortal7520/pci-scope-lens/releases/tag/v0.1.2" rel="noopener noreferrer"&gt;https://github.com/mortal7520/pci-scope-lens/releases/tag/v0.1.2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Source: &lt;a href="https://github.com/mortal7520/pci-scope-lens" rel="noopener noreferrer"&gt;https://github.com/mortal7520/pci-scope-lens&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Prefer not to install anything? There is a plain 10-question checklist: &lt;a href="https://mortal7520.github.io/pci-scope-lens/checklist.html" rel="noopener noreferrer"&gt;https://mortal7520.github.io/pci-scope-lens/checklist.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I built it, so treat this as a tool announcement with a long explanation attached. If your checkout comes back "inconclusive", that is the interesting case — tell me what it loaded.&lt;/p&gt;

</description>
      <category>article</category>
      <category>security</category>
      <category>privacy</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
