1. Download and activate the plugin
You need administrator access to the WordPress site where you want the verification form to appear. The plugin download is free.
The customer account and checkout steps in this guide use WooCommerce and OTP Wire 1.9.0 or later.
- Keep the downloaded file as a ZIP. Open your own WordPress dashboard and go to Plugins → Add New Plugin.
- Click Upload Plugin, choose the ZIP file, and click Install Now.
- Click Activate Plugin. The OTP Wire menu will appear in your WordPress dashboard.
2. Create an OTP Wire account and application
Create an OTP Wire account. Enter your store or company name, your name, your work email, and a password.
- In the OTP Wire dashboard, open Applications and create a new application for your site. Set it to Active and select WhatsApp or Email. Use a distinctive slug such as my-store-wp-01. You can leave the callback URL empty for this setup.
- Enable WhatsApp for sign-in. Enable Email too if customers will verify an email during registration or set up a recovery email later. Under API Keys, issue a Live key and copy it when it appears.
Real messages require an active provider and either an available trial allowance or sufficient wallet balance. Use the API URL and key for the same environment. View pricing.
3. Connect the plugin to your account
Back in your WordPress dashboard, open OTP Wire → Settings and fill in these fields.
- API base URL
https://api.otpwire.com/api- API key
- Paste the key you copied from your application. Leave it blank on later edits to keep the saved key.
- Delivery channel
- Choose the same channel you enabled on your OTP Wire application.
- OTP template key / Message language
- Use the key of an active OTP template in OTP Wire and choose the template language. The channel and language must match.
Under Delivery & destinations, use WhatsApp destinations to allow all countries, the Middle East preset, or custom calling codes. For Syria only, choose Custom calling codes and enter +963. This setting uses the phone prefix and applies to WhatsApp requests from this site.
Click Save settings. You can leave Webhook secret empty for this basic setup. To change the site form’s logo or colors, open Widget branding, preview your changes, and save again.
4. Test sign-in and registration on My Account
After saving, use Test connection to check the API key. In Set up customer sign-in, use Send test code to check delivery to your own WhatsApp number. The sign-in preview shows how the form will look to customers.
In OTP Wire settings, enable WooCommerce accounts. To accept new accounts, also enable registration on the My Account page under WooCommerce → Settings → Accounts & Privacy.
Choose a registration method
- Verify WhatsApp and email A new customer verifies their WhatsApp number, fills in their details, and confirms their email with a second code.
- WhatsApp phone only In WhatsApp registration, select this option and set Name at registration to Hidden if you want the number to be the only field. The customer verifies their number and selects Create account. They can add a verified recovery email later.
Test the customer experience
- Existing customer: sign in with a customer password, then link your number from My Account. Sign out, open My Account in a private window, and use the WhatsApp option to reopen the same account.
- New customer. Use a number you control that is available for registration. To test email verification during registration, also use an email address available for a new account. Confirm that My Account opens after creating the account.
- Check that the verification screen displays the correct recipient. Try Edit WhatsApp number to correct it, or wait for the countdown and select Resend code. Verify with the newest code and check that an incorrect code is rejected. The WooCommerce password form remains available.
For a standalone contact-verification form, add the shortcode to a page. [otpwire_otp]
5. Set up WhatsApp sign-in at checkout
WhatsApp sign-in works with both Classic checkout and Checkout Blocks.
- In OTP Wire → Settings → Delivery & destinations, enable WooCommerce accounts and WhatsApp sign-in at checkout. Save your settings.
- To let new customers register at checkout, enable account creation during checkout in WooCommerce → Settings → Accounts & Privacy.
- In a private window, add a product and open checkout. Sign in with a linked number or create a new account if registration is enabled. Confirm that you are signed in, the cart still has the product, and you can continue from checkout.
Verify billing details before placing an order Enable Require a verified OTP before an order can be placed if your store also requires verification of the billing phone or email. Customers who register by phone only enter a valid billing email when placing an order.
6. Manage WhatsApp and recovery email
Sign in to the customer account and open WhatsApp sign-in and recovery on My Account. If the store asks you to sign in again, do so before making a security change.
- Change WhatsApp number Enter the new number and verify the code sent to it. In a separate session, confirm that the new number opens the same account and the old number can no longer sign in to it.
- Add recovery email If you registered by phone only, enter an available email address and verify the code. When Verified recovery email appears, you can use that address to reset your WooCommerce password.
- Disconnect WhatsApp Confirm disconnection to remove WhatsApp sign-in for this account. Phone-only accounts need a verified recovery email first. After disconnection, use the account email and password or WooCommerce password reset to sign in.
If something does not work
- No OTP Wire menu? Check Plugins → Installed Plugins and activate OTP Wire OTP.
- Request rejected? Check that the key is from the same environment as the API URL and that the application and channel are active.
- A live code did not arrive? Check the template, wallet balance, and OTP Logs in the OTP Wire dashboard. If you contact support, share the error message or request ID and keep the API key private.
- The recovery code goes through OTP Wire. The password-reset message goes through your WordPress mail setup. If either fails, check the corresponding delivery settings.
