Start with Checkout. It's a payment page Stripe builds and runs, either on Stripe's domain or embedded in yours, and it already handles tax, discounts, subscriptions and every payment method you've enabled. Move to Elements, meaning the Payment Element on a page you build, when you can name the layout or flow that Checkout can't give you. That's chapter 9's rule, and Stripe's docs now say the same: they recommend the Checkout Sessions API for most integrations, and PaymentIntents only "if you want to own every part of your checkout" (Stripe, checked November 2026).
Neither costs extra. Stripe's pricing page lists Checkout and Payment Links as "included at no additional charge" on standard pricing, and lists no separate fee for Elements. A $100 US card payment costs $3.20 (2.9% + $0.30) whichever form took the card (Stripe pricing, checked November 2026). The only Checkout add-ons on that page are a custom domain at $10 a month and post-payment invoices at 0.4% of the total, capped at $2 per invoice.
The options, side by side
Since API version 2026-03-25.dahlia, Checkout's ui_mode values are hosted_page, embedded_page, form and elements. They replaced hosted, embedded and custom, which now fail on newer versions (Stripe changelog).
| Where the card is typed | What you build | Tax, discounts, subscriptions | SAQ A script criterion | |
|---|---|---|---|---|
| Payment Links | Stripe's page | Nothing | Built in | Doesn't apply |
Checkout, hosted (hosted_page, the default) | checkout.stripe.com, by redirect | A session and a success page | Built in | Doesn't apply |
Checkout, embedded page (embedded_page) | Stripe's full page, inside yours | A session, a mount point, a return page | Built in | Applies |
Checkout, embedded form (form) | Stripe's form in your layout | The page around it | Built in | Applies |
Checkout Sessions with Elements (elements) | Payment Element on your page | The page and the confirm step | Built in, held on the session | Applies |
| Payment Element on PaymentIntents | Payment Element on your page | Everything, including your own tax, discount and subscription logic | Yours to build | Applies |
Cost is the same in every row. Two things change as you go down: how much code you own, and whether your page hosts Stripe's iframe.
PCI: both are SAQ A, with one new condition
Stripe's PCI guide puts Checkout and Elements on SAQ A, the shortest questionnaire, because "Checkout and Stripe.js and Elements host all card data collection inputs within an iframe served from Stripe's domain." Card data never reaches your server (Stripe).
The January 2025 revision of SAQ A added an eligibility criterion: you confirm your site isn't susceptible to script attacks that could affect your e-commerce systems. PCI's FAQ 1588 (February 2025) says who it's for. It applies when your page embeds a provider's payment form, for example in an iframe. It doesn't apply when you redirect the customer to the provider, or send a payment link (PCI SSC FAQ 1588).
So in the table: hosted Checkout and Payment Links skip the criterion. Embedded Checkout, the embedded form and every Elements integration have to meet it. FAQ 1588 gives two ways:
- Run script controls of the kind PCI DSS 6.4.3 and 11.6.1 describe on the payment page: an inventory of the scripts it loads, a reason for each, and detection of unauthorized changes. A tight Content Security Policy plus change monitoring is the usual shape.
- Get written confirmation from your PCI-compliant provider that its embedded form, implemented as instructed, protects your page from script attacks.
Either way it's work a redirect doesn't need. Your acquirer decides which SAQ you file, so confirm with them. PCI scope covers the rest of the questionnaire.
Control vs effort
What Checkout Sessions gives you that a PaymentIntents integration has to build, from Stripe's comparison: Stripe Tax by flag, coupons and promotion codes, shipping rates, address collection, subscription creation, receipts, line-item updates, Adaptive Pricing (which Stripe says only works with Checkout Sessions), and webhook events for the whole checkout rather than just the payment. Sessions expire after 24 hours by default; you can set anything from 30 minutes to 24 hours (Stripe API).
What the Payment Element on PaymentIntents gives you: the whole page. Your own cart, your own multi-step flow, your own pricing logic, with Stripe only collecting and confirming the payment method. You pay for it in code you maintain.
The middle row, Checkout Sessions with Elements, is the one most teams miss: your layout, Stripe's cart. It's the usual answer when Checkout's look is the only objection.
The code difference
Hosted Checkout, the default:
import stripe
session = stripe.checkout.Session.create(
mode="payment",
line_items=[{"price": "price_123", "quantity": 1}],
success_url="https://example.com/thanks?session_id={CHECKOUT_SESSION_ID}",
)
# Redirect the customer to session.url
Embedded on your page, same session, different mode:
session = stripe.checkout.Session.create(
mode="payment",
ui_mode="embedded_page", # "embedded" before API version 2026-03-25.dahlia
line_items=[{"price": "price_123", "quantity": 1}],
return_url="https://example.com/return?session_id={CHECKOUT_SESSION_ID}",
)
# Send session.client_secret to the browser and mount Checkout there
The Payment Element on PaymentIntents, where you own the amount:
intent = stripe.PaymentIntent.create(
amount=2000, # you calculated this, including any tax and discount
currency="usd",
automatic_payment_methods={"enabled": True},
)
# Send intent.client_secret to the browser for the Payment Element
Whichever you pick, fulfil the order from the checkout.session.completed or payment_intent.succeeded webhook, with the signature verified, not from the redirect. Customers close tabs.
Which to pick
- Hosted Checkout if you want the least code and the least PCI paperwork. It's the only option here that is both a redirect and fully featured.
- Embedded Checkout or the embedded form if leaving your domain hurts conversion or brand, and you can meet the script criterion.
- Checkout Sessions with Elements if you need your own layout but not your own tax, discount or subscription logic.
- Payment Element on PaymentIntents if you already own the cart and pricing, or your flow can't fit a session.
- Not the Card Element. Chapter 9 calls it legacy: cards only, no Link, no local payment methods.
Chapter 9's version of the same decision, including Payment Links and the one surface not to use.
Stripe gives you five ways to put a payment form in front of a customer, one of which you shouldn't use, and the choice sets your PCI scope, your conversion rate, and how much frontend code you own.
| Surface | You write | Payment methods | PCI | Use it when |
|---|---|---|---|---|
| Payment Links | Nothing | Everything enabled in the Dashboard | SAQ-A | Selling before the product exists, invoices, one-offs |
Checkout, hosted (ui_mode='hosted_page') | A session on the server and a redirect | Everything enabled, localized by Stripe | SAQ-A | Most stores and SaaS signups; you want Stripe to own the page |
Checkout, embedded (ui_mode='embedded_page') | A session and a mount point | Same as hosted | SAQ-A | You want the page on your domain without building the form |
| Payment Element | The page around it and the confirm call | Everything enabled, in one component | SAQ-A (iframe) | You need full control of layout and the rest of the form |
| Card Element | All of it | Cards only | SAQ-A (iframe) | Legacy. Don't start here |
Both Checkout rows are the same Checkout Session with a different ui_mode. API version 2026-03-25.dahlia renamed the values: hosted became hosted_page, embedded became embedded_page, and custom (a Checkout Session driving your own Elements form) became elements. It also added form, Stripe's newer Checkout form. On dahlia and later the old names fail outright. An account pinned to an earlier API version still uses hosted, embedded, and custom, which is what most tutorials you'll find still show.
Link sits on top of all of them: a customer who has paid with Stripe anywhere can autofill and pay in a tap, and it costs nothing extra. Turn it on.
The decision rule: start with Checkout, and move to the Payment Element only when you can name the layout constraint Checkout can't meet. The Card Element is for integrations that predate 2021. New ones built on it don't get iDEAL, Alipay, or Link, and you'll rebuild the form the day you want any of them.
The PCI changes behind the script criterion, from chapter 17.
What Changed in PCI DSS v4.0.1 (The Stuff You Probably Missed)
A few v4.x requirements caught e-commerce teams off-guard when they became mandatory on 31 March 2025. Most apply to everyone outside SAQ-A; the first one reaches SAQ-A merchants by a side door:
- Requirement 6.4.3 / 11.6.1 - payment page scripts. Maintain an inventory of every script loaded into the cardholder data page (including third-party tags), justify each one, and detect unauthorized changes to script content or HTTP headers. The January 2025 revision of SAQ-A removed these two requirements (and the 12.3.1 risk analysis behind 11.6.1) and replaced them with an eligibility criterion: you confirm your site isn't susceptible to script attacks that could affect your e-commerce systems (PCI SSC, "Important Updates Announced for Merchants Validating to SAQ A", 2025). PCI FAQ 1588 says you can meet it with 6.4.3/11.6.1-style controls of your own, such as Content Security Policy and tamper monitoring, or with confirmation from your PCI-compliant provider that its embedded payment form is protected against script attacks. Ask your processor for that confirmation in writing.
- Stronger authentication (Req 8). Passwords used as an authentication factor must be at least 12 characters (8 if the system can't support 12) and contain both letters and numbers (Req 8.3.6), and MFA is required for all non-console access into the cardholder data environment, not just admin access (Req 8.4.2).
- Targeted risk analyses (Req 12.3.1). Where the standard allows flexibility on frequency (e.g. log reviews, scans), you must document a written risk analysis justifying your cadence.
- Service provider responsibility matrix (Req 12.8 / 12.9). Clear, written allocation of which PCI DSS controls are owned by you versus your processor or platform.
Treat these as a checklist before your next SAQ renewal: most are cheap to implement, and "we didn't know about v4.0.1" is not a defense your acquirer will accept.
Questions
Does Stripe charge extra for Checkout or Elements?
No. Stripe's pricing page lists Checkout and Payment Links as included at no additional charge on standard pricing, and lists no separate fee for Elements, checked November 2026. You pay the normal processing fee either way, 2.9% + $0.30 for a US card.
What is the difference between Stripe Checkout and Stripe Elements?
Checkout is a complete payment page Stripe builds, hosted on Stripe's domain or embedded in yours, with tax, discounts and subscriptions built in. Elements are UI components, led by the Payment Element, that you place on a page you build, so you own the layout and more of the logic.
Is Stripe Checkout or the Payment Element better for PCI?
Both normally qualify for SAQ A. Since the January 2025 SAQ A revision, an embedded payment form also needs you to confirm your page isn't susceptible to script attacks. PCI FAQ 1588 says that criterion doesn't apply when you redirect to the provider, so hosted Checkout carries the least PCI work.
What is the Stripe Payment Element?
A single Elements component that shows every payment method you've enabled, cards included, inside a Stripe iframe on your own page. It replaced the cards-only Card Element for new integrations.
Can I embed Stripe Checkout on my own site?
Yes. Create the Checkout Session with ui_mode set to embedded_page (embedded on API versions before 2026-03-25.dahlia), send its client secret to the browser, and mount it on your page. Embedding brings in the SAQ A script-attack criterion that a redirect avoids.
What are Stripe's Checkout ui_mode values?
Since API version 2026-03-25.dahlia: hosted_page (the default), embedded_page, form and elements. They replaced hosted, embedded and custom, which fail on newer API versions.