How to Add Identity Verification to WordPress and WooCommerce (2026)
Use Didit Verify to add identity or age checks to WordPress and WooCommerce. Full KYC costs $0.33 per completed check. Checkout approval and protected content require API Session mode.

Contents
In this guide
Jump to the part you need.
We built Didit Verify for WordPress sites and WooCommerce stores that need identity or age checks. It installs as a plugin, gates checkout or holds an order after purchase, and runs the checks in the workflow you configure. Full KYC costs $0.33 per completed check, age estimation $0.10 and AML screening $0.20. The main caveat: content gates and checkout approval need API Session mode with a workflow ID and an API key, not a UniLink preview link.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Item | Detail |
|---|---|
| Install route | WordPress.org listing (didit-verify) or the 0.3.4 release ZIP from GitHub |
| How it runs | A PHP plugin that starts sessions from your WordPress server; the API key stays on the server |
| Requirements | WordPress 6.0 or higher, PHP 7.4 or higher, a Didit Console account |
| Modes | UniLink for previews; API Session for content gates and checkout approval |
| Price | Full KYC $0.33 per completed check, age estimation $0.10, AML screening $0.20. On the Free plan, the first organization created with an eligible work email for a company domain gets $10 in monthly credit. Phone verification codes are excluded. The sandbox is free on every plan. |
| WooCommerce | Checkout gate with product scope and placement, or after-purchase mode that holds the order until the server confirms approval |
| Shortcode | [didit_verify], with per-page text and display overrides |
Checkout gating or after-purchase gating
Checkout gating asks for verification before the order can be placed. The shopper needs an Approved decision confirmed by the server, and the plugin checks that the session belongs to the current shopper and has not already been used for another order. This works with classic and block checkout alike.
After-purchase gating lets the order be placed and then holds it. The order stays on hold until the server confirms an Approved decision, released by the signed status updates from the webhook you configure in Settings → Didit Verify. A guest verifies from the order page using its valid order key. A Declined or In Review decision keeps the order on hold.
Both modes use the same Product Scope setting: all products, only selected products, or all products except selected ones, with individual products marked under Product data → Advanced. A cart that holds at least one product that needs verification requires it.
What Didit Verify adds to a WordPress site
Didit Verify starts sessions from your WordPress server and keeps the API key there. We run the checks configured in your Didit workflow. You build a workflow once in the Didit Console and the plugin starts sessions against it from WordPress. You get three surfaces: a verification button for any page, a checkout gate for WooCommerce, and PHP action hooks for custom logic, documented in the WordPress integration guide.
The checks come from the workflow. The published full KYC check includes ID document verification, passive liveness, face match, and device and IP analysis. You can add AML screening against 1,300+ lists, age estimation, proof of address, phone and email verification, NFC chip reading or database validation on top. We support 14,000+ document types across 220+ countries and territories, and the hosted flow runs in 54 languages. 4,000+ companies use Didit.

Age verification for WooCommerce and WordPress pages
Choose a full ID check or an adaptive age workflow based on what your store needs to verify.
Full ID check. The shopper completes an ID document scan, passive liveness and a face match. The decision must be Approved and confirmed by the server before the order can be placed. That is the $0.33 full KYC price, split as ID document verification $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03.
Adaptive age verification. The Adaptive Age Verification template starts with selfie age estimation and can fall back to an ID check. Age estimation costs $0.10 per completed check.

Prerequisites: plan, client, permissions
| Requirement | Detail | Where |
|---|---|---|
| Didit plan | A Didit Console account. The sandbox is free on every plan. | didit.me/pricing |
| Console access | An account with access to Workflows and to API & Webhooks, which is where the key and the workflow ID live | business.didit.me |
| Workflow | A published workflow containing the checks you want to run at checkout or on a page | Workflows |
| WordPress site | WordPress 6.0 or higher and PHP 7.4 or higher. Upgrade PHP first if your host runs an older version. | wp-admin |
| WordPress role | Administrator, to upload a plugin and edit its settings | wp-admin |
| WooCommerce | Only needed for the checkout gate; the shortcode works without it | wp-admin |
| Webhook URL and secret | Shown in Settings, Didit Verify; needed so signed status updates can release approved after-purchase orders | Plugin settings |
Install Didit on WordPress in seven steps
- Create the workflow. Sign in at business.didit.me, open Workflows in the sidebar, click New workflow and choose Verifying users. Start from a template (KYC, or Adaptive Age Verification if you only need age gating) or start empty and add the steps in the editor. Publish the workflow.
- Copy two values. The API key is under API & Webhooks. The Workflow ID is under Workflows, on the workflow you just published.
- Install the plugin. In wp-admin go to Plugins → Add New → Upload Plugin, choose
didit-verify-0.3.4.zipfrom the 0.3.4 release, click Install Now, then Activate. The plugin is also listed on WordPress.org. Use version 0.3.4 or later for the behavior described here, including revocation of protected access if an approved verification later expires, is declined or returns to review. - Set API Session mode. Open Settings → Didit Verify, set Mode to API Session, paste the Workflow ID and the API key, and save. UniLink mode needs only a workflow URL and is useful for previewing the flow, but a UniLink completion does not grant access to protected content or approve an order.
- Configure session and display options. Vendor Data defaults to the WordPress user ID, for example
wp-42; switch it to the user email, a custom prefix or off. Set the Callback URL (Didit appendsverificationSessionIdandstatusas query parameters), the Callback Method (initiator,completerorboth), the Language, the Display Mode (modal or embedded), the close button, the exit confirmation, auto-close and debug logging. Style the button under Button Appearance; the preview updates as you change values. - Choose checkout or after purchase, and wire the webhook. In Settings → Didit Verify → WooCommerce check Require identity verification at checkout, pick the position (before Place Order is recommended), set Product Scope, and edit the Section Title, Checkout Message and Post-purchase Message if you want your own copy. Enable Send Billing Data only if you want the customer's name, email, phone and address sent for pre-fill and cross-validation. For after-purchase mode, use the webhook URL shown in Settings → Didit Verify for the Didit webhook destination. Follow the WordPress integration guide to configure the matching signing secret before testing after-purchase approval. Staging result to check before going live: place a test order, confirm it lands on hold, then confirm it is released only after a signed status update carrying
Approvedarrives. - Add the button to the rest of the site. Put
[didit_verify]on any page that needs a verification button. Override the text per page with[didit_verify text="Verify Now" success_text="Done!"], or force inline display with[didit_verify mode="embedded"]. Content gating needs API Session mode and a server-confirmedApproveddecision; the WordPress integration guide covers that setup.
Two ways to install the plugin
| Method | Best for | What you need |
|---|---|---|
| WordPress.org listing | Most sites, updates from the Plugins screen | Administrator on wp-admin; check the version before installing |
| Release ZIP from GitHub | Pinning 0.3.4, or when the directory has an older version | The didit-verify-0.3.4.zip file |
Developer options without WordPress
For a custom integration, create a verification session with the Sessions API. It returns a session URL you redirect the shopper to:
curl -X POST https://verification.didit.me/v3/session/ -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" -d '{"workflow_id":"WORKFLOW_ID","vendor_data":"wp-42","callback":"https://example.com/verified"}'
The response carries session_id, url and session_token. Redirect to url, then read the outcome from the webhook or from GET /v3/session/{session_id}/decision/. Register a webhook destination with POST /v3/webhook/destinations/ and subscribe to status.updated and data.updated. Verify the X-Signature-V2 header before you trust a payload.
Implementation note for custom checkouts
- Bind the session to the shopper on your server with
vendor_data, and store the returnedsession_idagainst the cart or order. - Allow one order per session. Reject a session that was already used for another order.
- Take the decision from signed webhooks, and fall back to
GET /v3/session/{session_id}/decision/when a delivery is missing. - Treat
verificationSessionIdandstatusin the redirect URL as navigation and display values only. Do not grant access or place an order from those parameters.
If you build with an AI assistant, the hosted server setup is documented at Didit MCP setup.
Field and event mapping
| WooCommerce value | What is sent | Use |
|---|---|---|
| Billing first name and last name | Customer name | Pre-filling and cross-validation |
| Billing email | Customer email | Pre-filling and cross-validation |
| Billing phone | Customer phone | Pre-filling and cross-validation |
| Billing address, city and postcode | Customer address | Pre-filling and cross-validation |
| Billing country | Country code | Converted from WooCommerce's alpha-2 format to Didit's alpha-3 format |

Vendor Data is a separate setting that links each verification to a user in your Didit dashboard. It defaults to the WordPress user ID, such as wp-42. You can use the user's email, set a custom prefix or disable it. The plugin saves the session ID to the order for reference.
Status handling in checkout and after-purchase mode
| Status | Checkout gating | After-purchase gating |
|---|---|---|
Approved | The order can be placed once the server confirms the decision | Signed, server-confirmed approval releases the held order |
Declined | Checkout remains blocked | The order already placed remains on hold |
In Review | Checkout remains blocked until the server confirms Approved | The order stays on hold until the server confirms Approved |
Not Started | The shopper has not opened the verification link yet | No release yet; the order stays on hold |
In Progress | The shopper is completing the checks | No release yet; the order stays on hold |
Abandoned | The shopper started the session but did not finish in time | The order stays on hold |
Expired | The session timed out before the shopper opened the link | The order stays on hold |
Resubmitted | Checkout remains blocked until the server confirms Approved | The order stays on hold until the server confirms Approved |
Kyc Expired | An expired verification cannot satisfy the server-confirmed approval requirement for a new order | A held order still requires server-confirmed approval for release |
Test in the sandbox before you take real IDs
Every plan includes a sandbox, and sandbox sessions are never billed. In sandbox, every external provider is mocked: extracted data and outcomes come from a scenario or a magic value, not from the pixels you upload, so you can reproduce any result on demand. Captured media itself, meaning documents, selfies, video and proof-of-address files, is stored for real, exactly like a live session. Use sample documents, never real IDs.
Set up the test with a WooCommerce test order paid by a test payment method, and put a matching Didit sandbox API key and workflow ID in Settings → Didit Verify. For a plugin-created session, arm the scenario while the session is Not Started with POST /v3/session/{session_id}/sandbox/arm/. For a custom Sessions API integration, you can pass sandbox_scenario in the create request.
- Approved. Arm an approval scenario and place the test order. Checkout mode: the order can be placed only after the server confirms
Approved. After-purchase mode: the order lands on hold and the signed approval releases it. - Declined. Arm a decline scenario. Checkout mode: the order cannot be placed. After-purchase mode: the order stays on hold.
- In Review. Arm a scenario that returns
In Review. Checkout mode: checkout stays blocked until the server confirmsApproved. After-purchase mode: the order stays on hold until the server confirmsApproved. - Access revocation. Approve a user, confirm that gated content opens, then move the session to
Declinedor let it expire. On 0.3.4 or later, access is revoked.
Check the redirect parameters only if a Callback URL is configured. The sandbox allows 500 session creates per 24 hours per application, and sandbox webhooks carry "environment": "sandbox".

| Symptom | Cause | Fix |
|---|---|---|
| 403 with a permission message from verification.didit.me | Missing API key | Paste the key in Settings, Didit Verify and save |
| 401 | Key is wrong, revoked or expired | Issue a new key under API & Webhooks |
| 400 response that identifies an invalid workflow ID | The workflow ID does not match a published workflow | Copy the published workflow ID again from Workflows |
| 400 on callback | Callback is not on one of the application's allowed domains | Use a URL on an allowed origin, or add the domain |
| Approved but the order is still on hold | After-purchase mode is waiting on the signed server update | Configure the webhook URL and secret shown in Settings, Didit Verify |
| Webhook delivery dropped | A 5xx, 404 or a timeout triggers retries, and the delivery can be dropped after the retries are exhausted | Answer 2xx fast, process afterwards, then resend from the destination delivery log |
| Content locked for previously approved users | The site upgraded from a version older than 0.3.2 | Ask users whose earlier approval was not confirmed by the server to verify again before they access gated content or complete a verification-required checkout |
Disconnecting the plugin
Remove the [didit_verify] shortcodes from your pages first, so nothing renders an empty block. Then go to Plugins, deactivate the plugin and delete it. If you created a webhook destination in the Console only for this installation, delete that destination too.
Worked cost example
Take a shop with 1,200 orders a month. 250 orders need a full ID check at checkout, the same 250 get AML screening, and 60 orders are age-only and complete only the age-estimation step through the adaptive template.
- 250 full KYC checks: 250 x $0.33 = $82.50
- 250 AML screenings: 250 x $0.20 = $50.00
- 60 age estimation checks: 60 x $0.10 = $6.00
- Total at list price: $82.50 + $50.00 + $6.00 = $138.50 per month
| Line | Free, eligible organization | Growth, 4% off |
|---|---|---|
| Usage at plan prices | $138.50 | 250 x $0.3168 = $79.20, plus 250 x $0.192 = $48.00, plus 60 x $0.096 = $5.76, so $132.96 |
| Monthly plan credit | $10.00 | $115.00 |
| Covered by prepaid top-up credit | $128.50 | $17.96 |
| Monthly plan fee | $0.00 | $99.00 |
| Monthly total | $128.50 | $116.96 |
For an eligible Free organization, $10.00 of monthly credit covers part of the $138.50, so prepaid top-ups cover the remaining $128.50. Growth costs $99.00 per month. After applying the $115.00 monthly credit, the remaining $17.96 comes from prepaid top-up credit. The plan fee plus that month's top-up usage totals $116.96.
Sources
- Didit docs: WordPress KYC plugin and WooCommerce age check
- Didit docs: Quick start
- Didit docs: Create Session API
- Didit docs: Webhooks and HMAC signing
- Didit docs: Verification statuses
- Didit docs: Sandbox test data
- Didit pricing page, pricing in the docs, and the Didit live price feed, read November 26, 2026
- Didit Verify 0.3.4 release and the WordPress.org listing
- Didit MCP setup and the integration prompt
- Switching to Didit
Open the sandbox at business.didit.me, build your workflow and run a test order before you replace the sandbox credentials with your live API key and workflow ID. No sales call is needed to start.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
How do I add age verification to a WooCommerce store?
Install Didit Verify, connect it in API Session mode, then check Require identity verification at checkout under Settings → Didit Verify → WooCommerce. Set the position to before Place Order and limit the product scope if only some items are age-restricted. The order is accepted only after Didit returns Approved and the server confirms it.
Is the Didit plugin free to use?
We do not publish a separate price for the plugin. You pay per completed check from prepaid credit: $0.33 for a full KYC, $0.10 for age estimation and $0.20 for AML screening. On the Free plan, the first organization created with an eligible work email for a company domain gets $10 in monthly credit. Phone verification codes are excluded.
How do I test the plugin for free?
Create a sandbox application in the Console, copy its API key into Settings → Didit Verify with a matching sandbox workflow ID, and place a WooCommerce test order. Read the scenario catalog at GET /v1/sandbox/scenarios/ and arm a scenario on the plugin-created session while it is Not Started. Sandbox sessions are never billed and no external provider is called.
Can I use the plugin without an API key?
Only in UniLink mode, which needs a workflow URL and is useful to preview the flow. A UniLink completion does not grant access to protected content or approve an order, so any real gate or checkout requirement needs API Session mode with a workflow ID and an API key.
How much does one verification cost on WordPress?
A full KYC check is $0.33, made of ID document verification $0.15, passive liveness $0.10, face match $0.05 and device and IP analysis $0.03. AML screening is $0.20 extra and age estimation is $0.10. You are billed per completed check from prepaid credit.
Which WordPress and PHP versions does the plugin need?
WordPress 6.0 or higher and PHP 7.4 or higher. If your host runs an older PHP version, upgrade it before installing. Use version 0.3.4 or later for the behavior described here, including revocation of protected access if an approved verification later expires, is declined or returns to review.
Can I restrict content to verified users only?
Content gating needs API Session mode with a workflow ID and an API key, plus a decision confirmed by the server. The WordPress integration guide covers the setup. From 0.3.4, protected access is revoked if an approved verification later expires, is declined or returns to review.
What happens if a customer fails verification at checkout?
In checkout mode the order cannot be placed. An In Review session keeps checkout blocked until the server confirms Approved. A decline or resubmission keeps checkout blocked.
What happens to an order that is already placed and then held?
In after-purchase mode the order stays on hold. Signed status updates from the webhook you configure in Settings → Didit Verify release it once the server confirms Approved, and a guest can verify from the order page using the order key. A Declined or In Review decision keeps the order on hold.
Does the plugin send customer billing data to Didit?
Only if you enable Send Billing Data. When it is on, the customer's name, email, phone and address are sent for pre-filling and cross-validation, and country codes are converted from WooCommerce's alpha-2 format to Didit's alpha-3 format. Vendor Data is a separate setting. The plugin saves the session ID to the order for reference.
How do I remove the plugin later?
Remove the [didit_verify] shortcodes from your pages, then deactivate and delete the plugin on the Plugins screen. Delete a webhook destination in the Console only if it was dedicated to that installation.
Can I run the same checks without WordPress?
Yes. Create a verification session with the Sessions API and drive it from your own checkout. For AI-assisted integration, the hosted server setup is documented at Didit MCP setup.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


