Shopify checkout · age verification

A storefront age popup is not the same as a checkout age check

Direct answer. A storefront age popup is not a checkout age check: a theme feature or theme app embed asks visitors to confirm their age on the online store and does not run inside Shopify checkout, because it is not a Checkout UI extension and not a Cart and Checkout Validation Function. To add an age check on the information, shipping, or payment steps, Shopify documents Checkout UI extensions, which are available only to stores on a Shopify Plus plan; to enforce a rule server-side across checkout surfaces, including express wallets, Shopify points to a Cart and Checkout Validation Function. This page is not legal advice and does not say which method a product or market requires.

Last updated: 2026-11-24 (Asia/Tokyo). Shopify developer documentation and changelogs checked the same day.

Popup, checkout UI, and Validation Function

These three surfaces are not interchangeable. The table is the difference Shopify's docs support, not a ranking of apps.

MethodWhere it runsPlan note from Shopify
Storefront age popupOnline store theme or app embed, before or beside the catalogNot a checkout extension. Shopify's checkout-extension docs do not cover theme popups.
Checkout UI extensionShopify checkout steps (for example information, shipping, or payment)Extensions on those three steps are Shopify Plus only, per About checkout app extensions and Checkout UI extensions.
Cart and Checkout Validation FunctionServer-side checkout validation, including express checkouts such as Shop Pay, PayPal, Google Pay, and Apple PayShopify documents this API as the way to validate a cart and checkout server-side. The Function API lists “verify the age or ID of a customer when they proceed through checkout” as a use case.

Checkout UI extensions on Shopify Plus

Checkout UI extensions let an app add UI at defined checkout targets. Shopify states that extensions for the information, shipping, and payment steps are available only on Shopify Plus. Thank-you and order-status extensions are a different surface and, per the same docs, are available to all plans except Shopify Starter; they run after the purchase, so they cannot stop checkout.

Blocking is not automatic. A 26 January 2026 changelog says Checkout UI extensions that support blocking now default to non-blocking behavior. The merchant has to turn on Allow app to block checkout in the checkout and accounts editor. The same post recommends Cart and Checkout Validation Functions for custom checkout validation, because they are more secure, performant, and guaranteed to run across supported checkouts.

From API version 2026-07, the useBuyerJourneyIntercept hook and the block_progress capability are deprecated. Existing extensions keep working on current and prior API versions. Shopify's 2 July 2026 deprecation changelog tells developers who used that hook to enforce business rules to migrate to a Cart and Checkout Validation Function, which runs server-side across checkout surfaces, including express wallets and agentic checkout.

Cart and Checkout Validation Function

The Cart and Checkout Validation Function API is the server-side way to add checks before checkout can proceed. Shopify lists this use case: “Verify the age or ID of a customer when they proceed through checkout.” The docs also give an example of a validation that, at checkout, confirms a customer's age meets the legal requirement to purchase a product in their cart. A function can show a message and target a checkout field, or the cart as a whole. Shopify says you can activate a maximum of 25 validation functions on each store.

A Validation Function is not, by itself, a government ID check. It enforces a rule you (or an app) define. An identity-document or database check, where a market requires one, is a separate service. Shopify also notes that if a function run fails, checkout continues without the validation by default unless blockOnFailure is set when the validation is created.

Age confirmation is not the same as ID verification

An “I'm 18 or older” button, checkbox, or typed date of birth is a self-declaration: the buyer states an age. A document scan or a database check is a different job. Shopify's Function docs mention both “age or ID,” but they do not make a theme popup, a checkout checkbox, or a Function into an identity document check. Which of those a store needs depends on the products and the law in the markets you sell to. This page does not give that legal answer.

What this page is not

Related pages

Not legal advice. Plan limits, blocking behavior, and Function use cases come from shopify.dev pages and changelogs as read on 24 November 2026 (Asia/Tokyo). Confirm the live docs in your partner or admin context before you ship a checkout rule.