Skip to main content
Didit Raises $2M and Joins Y Combinator (W26)
Didit
Back to blog
Blog · February 14, 2026

How to Add KYC to Your WordPress or WooCommerce Store

Learn how to seamlessly integrate KYC (Know Your Customer) verification into your WordPress or WooCommerce store. This guide covers plugin installation, configuration, and usage, ensuring compliance and security for your online.

By DiditUpdated
how-to-add-kyc-to-wordpress-woocommerce.png

Enhanced Security Implementing KYC adds a crucial layer of security, protecting your store from fraudulent activities and malicious users.

Regulatory Compliance KYC helps you adhere to legal and industry regulations, avoiding potential fines and legal issues.

Improved Customer Trust Demonstrating a commitment to security and compliance builds trust with your customers, enhancing their overall experience.

Seamless Integration with Didit Didit offers a WordPress plugin that makes KYC integration easy, with a free tier to get you started.

Why Implement KYC in Your WordPress or WooCommerce Store?

In today's digital landscape, online businesses face increasing risks of fraud, identity theft, and regulatory non-compliance. Implementing Know Your Customer (KYC) procedures is essential for verifying the identity of your customers, mitigating risks, and fostering a secure online environment. For WordPress and WooCommerce store owners, integrating KYC can seem daunting, but with the right tools and guidance, it can be a straightforward process.

KYC not only protects your business from potential threats but also enhances customer trust by demonstrating a commitment to security and compliance. This, in turn, can lead to increased customer loyalty and positive brand reputation. By verifying the identities of your customers, you can prevent fraudulent transactions, reduce chargebacks, and ensure that your business operates within legal and ethical boundaries.

Step-by-Step Guide to Adding KYC with Didit

Here’s how to seamlessly integrate KYC into your WordPress or WooCommerce store using the Didit Verify plugin:

1. Prerequisites

Before you begin, ensure that your WordPress or WooCommerce store meets the following requirements:

  • WordPress 6.0 or higher
  • PHP 7.4 or higher
  • A Didit account

2. Obtain Your Didit Credentials

To connect your store to Didit's verification services, you'll need your API key and Workflow ID:

  1. Sign up or log in at Didit.
  2. Go to API & Webhooks and copy your API Key.
  3. Go to Workflows, create or select a workflow, and copy the Workflow ID.

Alternatively, you can use the UniLink URL for a simpler setup without API keys.

3. Install the Didit Verify Plugin

Install the Didit Verify plugin to connect your WordPress site to Didit's powerful KYC platform:

  1. Download didit-verify.zip from the Didit website.
  2. In your WordPress admin, go to Plugins → Add New → Upload Plugin.
  3. Choose the downloaded ZIP file and click Install Now.
  4. Click Activate.

4. Configure the Plugin

Navigate to Settings → Didit Verify to configure the plugin with your Didit credentials.

Choose Your Mode

  • UniLink: Ideal for quick testing; requires only the UniLink URL from your workflow.
  • API Session (recommended): Suitable for production use; requires your Workflow ID and API Key.

For UniLink, set the Mode to "UniLink," paste your URL, and save. For API Session, set the Mode to "API Session," enter your Workflow ID and API Key, and save.

Configure Session Options (API Mode Only)

These settings offer additional control over your verification sessions:

  • Vendor Data: Links each verification to a specific user in your Didit dashboard. The default is the WordPress User ID (e.g., wp-42). You can also choose User Email, a custom prefix, or disable it.
  • Callback URL: A page on your site where users are redirected after verification. Didit appends verificationSessionId and status as query parameters.
  • Callback Method: Determines which device handles the redirect: initiator, completer, or both.
  • Language: Choose from 49 languages or let it auto-detect from the browser.

Customize Display Options

Customize how the verification process is displayed to your users:

  • Display Mode: Modal (popup overlay) or Embedded (inline on the page).
  • Close Button: Show or hide the X button on the modal.
  • Exit Confirmation: Show an "Are you sure?" dialog when closing.
  • Auto-close: Automatically close the modal when verification completes.
  • Debug Logging: Log SDK events to the browser console for troubleshooting.

Customize the Button

Under Button Appearance, personalize the button with custom text, colors, and styles. A live preview updates in real-time as you make changes.

5. Add Verification to Your Site

Integrate the verification process into your WooCommerce store or any WordPress page.

For WooCommerce Stores

  1. In Settings → Didit Verify → WooCommerce, check Require identity verification at checkout.
  2. Choose where the verification section appears: top of checkout page, after billing details, after order notes, or before "Place Order" (recommended).
  3. Optionally enable Send Billing Data to auto-send customer information to Didit for pre-filling and cross-validation.

Customers must complete verification before placing an order. The session ID is saved to the order metadata for audit purposes. Didit's ID Verification product ensures accurate and reliable identity checks.

For Any WordPress Page

Add the following shortcode to any page or post:

[didit_verify]

A verification button will appear, styled with your Button Appearance settings.

You can override the text per page:

[didit_verify text="Verify Now" success_text="Done!"]

Or force embedded mode on a specific page:

[didit_verify mode="embedded"]

6. Restrict Content to Verified Users (Optional)

Show or hide content based on verification status using the [didit_gate] shortcode:

[didit_gate]
This content is only visible to verified users.
[/didit_gate]

Customize the message for unverified users:

[didit_gate message="Please verify to continue."]Secret content here.[/didit_gate]

Display the user's verification status anywhere:

[didit_status]

This will display "Identity Verified" or "Not Verified" for the logged-in user.

How Didit Helps

Didit simplifies KYC integration into your WordPress and WooCommerce stores with its AI-native, modular identity platform. Our free Core KYC offering allows you to start verifying identities without any upfront costs. Didit’s modular architecture means you can plug-and-play the exact identity checks you need, such as ID Verification, Liveness Detection, and AML Screening, without being locked into a rigid system.

Didit's Age Estimation product can also be integrated to ensure compliance with age restrictions, for example, on e-commerce sites selling alcohol or tobacco. Furthermore, with Reusable KYC, users can verify their identity once and securely reuse that verification across multiple applications integrated with Didit. This dramatically reduces onboarding time while maintaining high security standards and regulatory compliance.

Our developer-first approach provides instant sandbox access, comprehensive public documentation, and clean APIs, making integration seamless. With Didit, you can automate trust, orchestrate risk, and ensure compliance, all while providing a frictionless user experience.

Ready to Get Started?

Ready to see Didit in action? Get a free demo today.

Start verifying identities for free with Didit's free tier.

Infrastructure for identity and fraud.

One API for KYC, KYB, Transaction Monitoring, and Wallet Screening. Integrate in 5 minutes.

Ask an AI to summarise this page