WordPress plugin
IdentifyOrg for WordPress
A free plugin that adds identity checks, customer verification, payments and WhatsApp ordering to any WordPress or WooCommerce site, with no code. It calls the same API as everything else on this site, with your key kept on your server.
Install and connect
- Download the zip. Do not unzip it. You need WordPress 5.8+ and PHP 7.4+.
- In WordPress: Plugins, Add New, Upload Plugin, choose the file, Install Now, Activate.
- Open Settings, IdentifyOrg. Fill in the short form (business name, email, phone, password). Your free account and test key are created and saved.
- Already have an account? Open "I already have an IdentifyOrg account", sign in once, and a test or live key is created for the site. Your password is used once and is not stored.
- Confirm your email to unlock live keys, and fund your wallet from your IdentifyOrg dashboard.
To keep the key out of the database, define it in wp-config.php:
// wp-config.php: keep the key out of the database.
define( 'IDENTIFYORG_API_KEY', 'io_live_sk_xxxxxxxx' );Shortcodes and the block
Add these to any page or post, or use the IdentifyOrg check block in the editor.
[identifyorg_verify] A picker with every check you turned on
[identifyorg_check type="nin"] One check (bvn, nin, frsc, bank-account, bvn-account-match, cac, tax-id,
business-registry, vat, aml, pep, address, phone, face-match, document,
liveness, liveness-hosted)
[identifyorg_kyc] "Verify my identity" for the signed-in user (hosted flow)
[identifyorg_pay amount="5000" description="Deposit" label="Pay now"]
A pay button. Leave amount out to let the payer choose.By default only signed-in users can run checks, each person is limited to 10 an hour, and visitors see a verdict such as "Match" instead of personal details. Change this under Settings, IdentifyOrg, Advanced.
Verify your users
When you connect, the plugin creates a verification flow (ID number, selfie match, liveness) and a "Verify your identity" page. In Settings, IdentifyOrg, open Choose what you want to verify to change the steps (ID number, ID card photo, selfie match, liveness, guided liveness, address, bank account, bank statement, phone and email codes, CAC, tax ID, company registry, VAT) and to switch between test and live mode. Saving asks for your IdentifyOrg email and password once, because editing a flow needs a signed-in session.
Each customer is sent to a secure IdentifyOrg page. The status is saved on their WordPress profile (user meta identifyorg_kyc_status), shown in the Users list, and available in code with IdentifyOrg_KYC::is_verified( $user_id ). In WooCommerce you can require verification before checkout. See also Verification Suite.
Payments and WooCommerce
The pay shortcode and the WooCommerce gateway create a checkout link (POST /v1/business/charges) and send the customer to a secure IdentifyOrg page to pay by card, bank transfer or USSD. A fixed amount is signed so a visitor cannot change it. When the customer returns, the plugin confirms the payment with the API before it marks an order paid, and an optional webhook does the same instantly.
- WooCommerce, Settings, Payments: switch on IdentifyOrg.
- Optional: in your IdentifyOrg dashboard add the webhook address
https://yoursite.com/wp-json/identifyorg/v1/webhookfor payment events, and paste its secret under Settings, IdentifyOrg, Advanced. Signatures useX-IdentifyOrg-Signatureand are rejected after five minutes. - For live payments finish your business setup in the dashboard first.
WhatsApp orders and the assistant
Link a WhatsApp number in your dashboard (WhatsApp, Add a number, scan the QR). Then in Settings, IdentifyOrg, WhatsApp section, choose the number and press Connect this number to my shop. The plugin sets your site as the order receiver, publishes a read-only price list, and switches on ordering with checkout: own. A customer sends MENU, orders from your WooCommerce products and gets a payment link in the chat; the order appears in WooCommerce as Pending payment and becomes Processing when paid. Optionally the customer is messaged on WhatsApp when it is paid, shipped or cancelled.
Press Teach the assistant from my website so it can answer questions about the business. An optional website chat box can be switched on with your sc_ key. See the WhatsApp selling guide for what happens in the chat.
# What your site receives when a customer confirms an order on WhatsApp (signed like every webhook):
POST https://yourshop.com/wp-json/identifyorg/v1/whatsapp
X-IdentifyOrg-Event: order
X-IdentifyOrg-Signature: t=<unix seconds>,v1=<hex hmac-sha256 of "t.body">
{ "type": "order", "order": { "reference": "wa-...", "items": [ ... ], "delivery_fee": 1500, "total": 43000, "customer": { ... } } }
# The plugin answers with the message the customer sees in the chat:
{ "reply": "Thanks Tunde! Your order #13 is ready. Pay here: https://yourshop.com/checkout/order-pay/13/?key=..." }REST routes the plugin adds
| Route | Who calls it | Notes |
|---|---|---|
POST /wp-json/identifyorg/v1/whatsapp | IdentifyOrg | Confirmed WhatsApp orders. Signature required. The same order is never created twice. |
GET /wp-json/identifyorg/v1/products | IdentifyOrg | Published, purchasable, in-stock products: id, name, price, sku. |
POST /wp-json/identifyorg/v1/webhook | IdentifyOrg | Payment and verification events. Signature required; the plugin re-checks with the API. |
For developers: PHP functions and hooks
<?php
// Run any check from your own theme or plugin code.
$result = identifyorg_verify( 'nin', array(
'nin' => '12345678901',
'first_name' => 'Ada',
) );
if ( ! is_wp_error( $result ) && ! empty( $result['match'] ) ) {
// verified
}
// Phone verification has two steps:
$start = identifyorg_verify( 'phone', array( 'phone' => '08031234567' ) ); // sends an SMS code, returns an id
$ok = identifyorg_phone_check( $start['id'], '418209' );<?php
// Stop or change a request before it is sent (return a WP_Error to refuse).
add_filter( 'identifyorg_before_request', function ( $ok, $type, $fields ) {
return $ok;
}, 10, 3 );
// Add or change the checks the plugin offers.
add_filter( 'identifyorg_checks', function ( $checks ) { return $checks; } );
// React to results.
add_action( 'identifyorg_verified', function ( $result, $type, $fields ) {}, 10, 3 );
add_action( 'identifyorg_after_request', function ( $result, $type ) {}, 10, 2 );
add_action( 'identifyorg_user_verified', function ( $user_id ) {} ); // a user finished verification
add_action( 'identifyorg_payment_confirmed', function ( $payment ) {} ); // a payment was confirmed
// Take WhatsApp orders in a shop plugin other than WooCommerce.
// Return the text to show the customer (for example a payment link), or null to use WooCommerce.
add_filter( 'identifyorg_whatsapp_order', function ( $reply, $order ) {
// $order: reference, items[ name, sku, quantity, unit_price, line_total ], delivery_fee, total, currency, customer[ name, phone, address ]
return null;
}, 10, 2 );
// Change the products WhatsApp customers can order (id, name, price, sku).
add_filter( 'identifyorg_whatsapp_products', function ( $products ) { return $products; } );Which API endpoints it uses
| Plugin feature | API |
|---|---|
| Check forms (BVN, NIN, licence, bank, company, VAT, AML, PEP, address, face, liveness, documents) | POST /v1/verify/*, /v1/screening/* |
| Phone verification by SMS code | POST /v1/phone/verify/start and /check |
| Customer verification (KYC page) | POST /v1/verification-sessions |
| Pay button and WooCommerce gateway | POST /v1/business/charges, GET /v1/business/payments |
| WhatsApp ordering | PUT /v1/wa/channels/{id}/ordering and /website |
| WhatsApp order updates | POST /v1/wa/channels/{id}/send |
| Connection test and wallet balance | GET /v1/balance |
Authentication is the X-IdentifyOrg-Key header with a secret key. Account sign-up, key creation and flow editing use your sign-in once and keep nothing.
Security and privacy
- The key stays on your server and is never printed to a page or sent to a visitor's browser.
- Every form uses a nonce, a hidden spam trap and an hourly limit; uploads are checked for type, size and image content.
- Incoming WhatsApp and webhook requests must carry a valid signature no older than five minutes.
- The optional website chat loads a small script from identifyorg.com, and the "Secured by IdentifyOrg" badge is shown only if you switch it on.
Troubleshooting
- Key refused: press Test connection, or create a fresh key from "Get a live key".
- Wallet is empty: fund your wallet from the dashboard.
- WhatsApp orders do not appear: check the number shows as connected, the WhatsApp section says Connected, WooCommerce is active, and your site address is public and starts with https.
- No payment method on the pay link: switch on IdentifyOrg in WooCommerce, Settings, Payments.
The plugin also has a Help and guides page under Settings, IdentifyOrg help.
Finding this hard to integrate?
Open a ticket and our technical team will help you get it working. We reply by email. Or WhatsApp or call +234 913 995 7618.

