Table of Contents
Problem description #
Users receive a verification code (OTP) but the verification modal rejects it or reports “code incorrect”.
Common symptoms / error messages
- “Code is wrong” / “Passcode does not work”
- Code received in email but entering it fails repeatedly
- Works after reinstall/rolling back plugin version
Typical causes:
- A recent plugin update introduced a bug (fixes have been issued in minor releases). WordPress.org
- JavaScript conflicts from themes or other plugins that break verification logic.
- The verification state (transient/cookie/session) not being stored/read properly due to caching or server config.
Solution (step-by-step)
- Update plugin first. Go to Plugins → Installed Plugins and update Customer Email Verification for WooCommerce to the latest release (the author has fixed similar passcode bugs in recent updates). WordPress.org
- Test after update. Try a registration on a private/incognito window (no cached JS/CSS).
- If problem persists, isolate conflicts:
- Deactivate all plugins except WooCommerce and Customer Email Verification. (Plugins → Bulk action → Deactivate.)
- Switch temporarily to a default theme (e.g., Twenty Twenty-Three).
- Test verification again.
- Deactivate all plugins except WooCommerce and Customer Email Verification. (Plugins → Bulk action → Deactivate.)
- If code works with others disabled: Reactivate plugins/themes one-by-one, testing after each to find the conflicting plugin or theme. Note the plugin that triggers the problem.
- If code still fails with minimal setup: Enable WP_DEBUG in wp-config.php and check wp-content/debug.log for errors; capture JS console errors in the browser (F12 → Console). Share logs with plugin support if needed.
- Rollback if urgent: If a recent release broke verification and cannot be resolved immediately, you can temporarily revert to the previously working plugin version (download older ZIP from the plugin author or your backups) and upload via Plugins → Add New → Upload Plugin. Make sure to backup before rolling back.
Prerequisites
- Plugin updated to the latest version (authors have released fixes for passcode issues). WordPress.org
- WordPress and WooCommerce up to date.
Additional notes
- Caching (server or plugin) and HTML/JS minification are common causes, clear caches and disable minification while testing.
- If rollback is needed, report the issue with your site URL, theme, and active plugins so author can patch.
