跳到内容

AgeOnce Age Verification for WooCommerce

v1.0.16

ageonce · 2026年4月16日 上架

Privacy-first age verification for WooCommerce — checkout, signup & content (16+/18+/21+). Free for 100 verifications/month. No IDs on-site.

正在使用
10+
评分
4.3 / 5
累计下载
1,610
最近更新
2026年11月17日
3 条评价需要 WordPress 5.0+已测试到 6.9.12PHP 7.4+

贡献者

截图

Connection settings with setup checklist, OAuth credentials, Redirect URL, and Test connection.
Connection settings with setup checklist, OAuth credentials, Redirect URL, and Test connection.
Content Rules — enable a content type, pick age groups (16+/18+/21+), and select categories or tags.
Content Rules — enable a content type, pick age groups (16+/18+/21+), and select categories or tags.
Site entrance gate settings — whole-site gate, allowed pages, entrance links, editor preview, and SEO bot option.
Site entrance gate settings — whole-site gate, allowed pages, entrance links, editor preview, and SEO bot option.
Full-page site entrance screen shown to unverified visitors (pages, menus, and theme chrome stay hidden).
Full-page site entrance screen shown to unverified visitors (pages, menus, and theme chrome stay hidden).
WooCommerce checkout age gate — Place order stays blocked until the customer completes AgeOnce verification.
WooCommerce checkout age gate — Place order stays blocked until the customer completes AgeOnce verification.
Restricted content gate for posts and pages that require age verification before viewing.
Restricted content gate for posts and pages that require age verification before viewing.
WooCommerce My Account registration age gate (optional signup verification).
WooCommerce My Account registration age gate (optional signup verification).

Privacy-first age verification for WooCommerce and WordPress. WooCommerce has no built-in official age gate — AgeOnce adds real checks at checkout, optional customer signup on My Account, restricted content, and an optional full-page site entrance gate, without archiving customer IDs or face images on your server. Your site keeps the verification outcome and an Audit ID. Start free with 100 verifications per month, no credit card required.

Full setup guide (video, install, free plan): WordPress age verification on AgeOnce.com

See how it works

About 90 seconds: install, connect credentials, set product rules, verify at checkout, then review order status and the AgeOnce audit log.

Use it for alcohol, tobacco, vaping, cannabis, adult content, supplements, events, memberships, or any other WordPress content that should be shown only after age verification.

Instead of relying on a simple “Are you 18?” popup, AgeOnce sends the visitor through a dedicated verification flow and then returns them to your store. The plugin can block WooCommerce checkout until verification is complete, optionally require age verification before customers create a store account on My Account, protect selected posts or pages, optionally gate the whole site at the entrance, and record verification details on WooCommerce orders and new customer accounts.

Age assurance is now a legal requirement in many markets — the UK Online Safety Act, US state age-verification laws, the EU Digital Services Act, and FDA PACT rules for tobacco and vape all expect real checks rather than a self-declared age box. AgeOnce gives you a workflow you can show an auditor while keeping data collection to a minimum.

You can start with the AgeOnce free plan. No credit card is required for the free tier, so you can install the plugin, connect your site, and test the full WooCommerce checkout, optional signup gate, or content restriction flow before upgrading.

Why stores use AgeOnce

  • Protect checkout for restricted products – Require age verification only when the cart contains products or categories that need it.
  • Optional store signup age gate – Require age verification before guests can create a WooCommerce customer account on My Account (off by default; configurable 16+/18+/21+).
  • Optional site entrance gate – Gate the whole site with a full-page screen until verification; keep Terms, Privacy, 2257, or Contact public.
  • Avoid blanket age gates – Keep normal products and public content open while gating only the items that require verification.
  • Support 16+, 18+, and 21+ rules – Configure different minimum ages for different product categories, tags, posts, pages, or custom post types.
  • Brand the gates – Logo, colours, optional copy, and custom CSS for the entrance screen and inline banners.
  • Keep proof on orders and accounts – Store verification status, transaction ID, and timestamp on WooCommerce orders (and on new customer accounts when signup verification is enabled).
  • Start free – Use the free AgeOnce plan to test real verification before moving to a paid plan.
  • Use one verification flow across your site – The same AgeOnce verification can unlock checkout, signup, protected content, and the entrance gate for guests and logged-in visitors.
  • Respect privacy – The plugin only contacts AgeOnce when a visitor chooses to verify their age.

Features

  • Site entrance gate – Optional full-page gate before browsing. Choose allowed pages, entrance links, editor preview, and optional search-bot bypass (SEO).
  • Gate appearance – Logo, separate colour sets for entrance and inline banners, optional heading/message, custom CSS, and theme template overrides under yourtheme/ageonce/.
  • WooCommerce checkout age gate – Disable checkout until the customer completes age verification for restricted cart items. Product pages stay visible unless you opt in to hiding descriptions.
  • Optional WooCommerce customer signup age gate – On My Account registration, block create-account until AgeOnce verification (disabled by default; choose 16+, 18+, or 21+).
  • Product-level control – Mark individual WooCommerce products as requiring age verification.
  • Category and tag rules – Protect products, posts, pages, and custom post types by taxonomy.
  • Manual content locking – Add an AgeOnce metabox to lock individual posts or pages regardless of taxonomy.
  • Multiple age thresholds – Configure 16+, 18+, and 21+ rules from the same settings screen.
  • Order and customer verification metadata – Save verification status, transaction ID, and verification time on WooCommerce orders; when signup gating is on, also save verification meta on the new customer.
  • Configurable local pass – You set how long a visitor stays verified, separately for restricted content and for checkout and signup. The default is 24 hours. Guests are always asked again after 24 hours at most; logged-in accounts can keep a longer pass (up to 7 days for content, 30 days for checkout). Logout ends the pass immediately. The account still remembers the age that was passed, so 18+ does not unlock a 21+ rule. When the pass ends they click Verify Age again (AgeOnce SSO if they already have an AgeOnce account). Administrators can reset a customer’s verification from the user profile.
  • Secure OAuth flow – Uses a one-time server-side state and server-to-server token exchange with AgeOnce.
  • Content protection without WooCommerce – Gate posts, pages, and custom post types even if WooCommerce is not active.

Requirements

  • WordPress 5.0 or higher
  • WooCommerce 5.0 or higher (for checkout and customer signup protection)
  • AgeOnce account with OAuth credentials (Client ID and Client Secret)

Getting Started

  1. Install and activate the plugin
  2. Open the AgeOnce WordPress setup guide (video + free plan)
  3. Create an account at AgeOnce and start with the free plan or choose a paid plan
  4. Go to AgeOnce Settings in the admin menu
  5. Copy the Redirect URL from WordPress into your AgeOnce dashboard
  6. Enter your Client ID and Client Secret in WordPress
  7. Click Test connection to confirm the OAuth setup
  8. Configure rules for WooCommerce products, categories, tags, posts, pages, or custom post types
  9. Optionally enable the Site entrance gate for whole-site protection, and adjust Appearance if you want branded gates
  10. Optionally enable WooCommerce customer signup if you want age verification before store account creation
  11. Save changes and run one entrance, checkout, signup, or restricted content test

Docs: WordPress plugin documentation. Plans: AgeOnce pricing. Product page: wordpress-age-verification.

Privacy

This plugin sends data to the AgeOnce service (app.ageonce.com, api.ageonce.com) only when a user explicitly starts age verification, such as clicking “Verify Age” at checkout, on the My Account registration form, or on restricted content. No tracking or data collection occurs without that user action.

The plugin does not send WordPress account passwords to AgeOnce. It may store a verification flag in the WooCommerce session or a cookie (24 hours at most), and it may store verification metadata on WooCommerce orders and on WordPress users (logged-in verification, and new customer accounts when signup verification is enabled). A logged-in pass lasts for the duration you choose in the settings, and also ends on logout; stored user meta keeps the age threshold that was passed and when each threshold was verified. See the AgeOnce service for privacy and terms.

External services

This plugin relies on third-party services operated by AgeOnce (the verification provider). They are required for OAuth login and token exchange so the site can confirm age verification.

  • AgeOnce web app (app.ageonce.com) — Used for the user-facing OAuth authorization screen when someone clicks “Verify Age”. The browser is redirected here with your site’s OAuth client ID, redirect URI, a state value, and required minimum age. The user completes verification on AgeOnce; no WordPress account password is sent to AgeOnce.

  • AgeOnce API (api.ageonce.com) — Used when the user returns to your site with an authorization code. The plugin sends a server-to-server request to exchange that code for an access token: it transmits the authorization code, redirect URI, OAuth state, and HTTP Basic authentication using your Client ID and Client Secret (stored in WordPress options). On success, the plugin may store a verification flag in the WooCommerce session or a cookie and optional transaction metadata for orders. This happens only during that callback after the user completes the flow.

  • Terms and privacy (AgeOnce) — Terms of service, Privacy policy.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums