=== iDenfy for WooCommerce ===
Contributors: idenfy
Tags: identity-verification, kyc, fraud-prevention, aml, age-verification
Requires at least: 4.6
Tested up to: 7.0
Stable tag: 2.0.1
Requires PHP: 7.1
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Add identity verification to your WooCommerce store. Verify customers before checkout with ID checks — powered by iDenfy.

== Description ==

**iDenfy for WooCommerce** lets you require identity verification from your customers before they can complete a purchase. Whether you need to meet KYC/AML compliance, prevent fraud, or verify age — this plugin handles it without you having to build anything from scratch.

= What it does =

* **ID Document Verification** — Supports passports, national IDs, driver's licenses, and more from 200+ countries
* **Facial Recognition** — Matches the customer's face to their ID photo
* **3D Liveness Detection** — Confirms the person is real and physically present
* **24/7 Human Supervision** — Every verification is reviewed by iDenfy's team for accuracy

= How it works =

1. A customer reaches checkout (or their account page, depending on your settings)
2. They're prompted to verify their identity through iDenfy
3. Once verified, they can proceed normally — no repeated checks on future orders
4. You get full visibility into verification statuses from your WordPress admin

= Three verification modes =

* **Before Checkout** — A verification modal appears at checkout. Customers must verify before placing an order.
* **My Account** — Customers verify from their account dashboard. Unverified users can't access checkout at all.
* **Custom Rules** — Only require verification when specific conditions are met: cart total exceeds a threshold, or the cart contains certain products, categories, or tags.

= Built for modern WooCommerce =

* Works with both **classic shortcode checkout** and **WooCommerce Blocks checkout**
* Compatible with **High-Performance Order Storage (HPOS)**
* Automatic webhook handling — verification results sync in real time
* Custom order status for flagged orders ("Suspected by iDenfy")
* Admin column on the Users page showing each customer's verification status
* Name matching option to compare billing name against verified ID

= What you'll need =

An iDenfy account with API credentials. Don't have one yet? [Sign up here](https://www.idenfy.com/get-started/?source=wordpress).

https://www.youtube.com/watch?v=N9KGl7OvJxg

== Installation ==

Please refer to our provided [**installation guide**](https://documentation.idenfy.com/integration/WooCommerceIntegration)

1. Upload the `idenfy-for-woocommerce` folder to `/wp-content/plugins/`, or install directly from the WordPress plugin directory.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Go to **WooCommerce → Settings → iDenfy**.
4. Enter your **API Key** and **API Secret** from your iDenfy dashboard.
5. Choose a verification mode (Before Checkout, My Account, or Custom Rules).
6. Save your settings — you're good to go.

== Frequently Asked Questions ==

= Do my customers need to create an account? =

Yes. The plugin requires customers to be logged in so it can track their verification status. Guest checkout is automatically disabled when verification is active.

= Does a customer need to verify every time they order? =

No. Once a customer is verified, they stay verified. They won't be asked again on future orders.

= What happens if a customer is flagged as "suspected"? =

Their order receives a custom status — "Suspected by iDenfy" — so you can review it manually. You can also configure the plugin to either accept or block suspected users.

= Can I only require verification for certain products? =

Yes. Use the **Custom Rules** mode to require verification based on cart total, specific products, product categories, or product tags.

= Does this work with WooCommerce Blocks? =

Yes. The plugin is fully compatible with both the classic shortcode checkout and the newer Blocks-based checkout.

= Can I manually change a customer's verification status? =

Yes. Admins can edit a user's verification status directly from their profile page in WordPress.

== Screenshots ==

1. Plugin settings page under WooCommerce → Settings → iDenfy
2. Verification modal shown to customers at checkout
3. Verification status column on the Users admin page
4. Custom order status for suspected orders

== Changelog ==

= 2.0.1 =
* Added optional customer email notifications for KYC verification results (success and failure), configurable in settings
* Reorganized admin settings into separate Connection, Verification, and Email sections
* Added a clean uninstall routine that removes plugin data when the plugin is deleted
* Added a translation template (.pot) for localization
* Minor fixes and improvements

= 2.0.0 =
* Complete plugin rework
* Redesigned admin settings with visual mode selector
* Full compatibility with WooCommerce Blocks checkout
* Full compatibility with High-Performance Order Storage (HPOS)
* Custom rules mode for conditional verification
* Improved token caching and verification polling
* Custom order status for suspected verifications
* Verification status column on Users admin page
* Name matching support

= 1.0.0 =
* Initial release

== Third-Party Service ==

This plugin relies on the [iDenfy](https://www.idenfy.com) identity verification service to perform customer verification. When a customer initiates verification, the following data is sent to iDenfy's servers:

* A unique client identifier
* Redirect URLs for your store
* Optionally, the customer's first and last name (if name matching is enabled)

The customer then completes the verification process on iDenfy's platform, which may include uploading identity documents and a facial scan.

* **Service website**: [idenfy.com](https://www.idenfy.com)
* **Terms of Service**: [idenfy.com/terms-and-conditions](https://www.idenfy.com/terms-and-conditions/)
* **Privacy Policy**: [idenfy.com/privacy-policy](https://www.idenfy.com/privacy-policy/)

== Copyright and Trademarks ==

iDenfy is a registered trademark of UAB "Identifikaciniai Projektai" / UAB "iDenfy".

[idenfy.com](https://www.idenfy.com)
