=== Automation Web Platform – Notifications and OTP for WooCommerce, Advanced Country Code ===
Contributors: 101Gen
Tags: whatsapp, woocommerce, otp, notifications, sms
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 4.8.5
License: GPLv3 or later
License URI: https://opensource.org/licenses/GPL-3.0
Donate link: https://wawp.net/en/pricing
Automate WooCommerce/WordPress WhatsApp alerts, secure login with WhatsApp/Email OTP, and optimize checkout with advanced country code validation.
== Description ==

Tired of manually sending WhatsApp order updates, tracking numbers, and payment follow-ups? Let **Wawp** handle it all on autopilot right from your WhatsApp!

**Wawp (Automation Web Platform)** is the ultimate all-in-one automation and security toolkit for WooCommerce and WordPress. It bridges the gap between your online store and WhatsApp, helping you boost conversion rates, eliminate fake orders, and retain customers with zero effort.

### 🚀 What makes Wawp a Game-Changer?
* **Smart Automated Notifications:** Send instant WhatsApp alerts to customers and admin for new orders, status updates, pending payments, and product reviews.
* **Bulletproof Security (OTP Authentication):** Secure your forms with Google reCAPTCHA, WhatsApp OTP, and Email verification to stop spam bots and fake registrations.
* **WooCommerce Order Verification:** Validate checkouts based on payment or shipping methods using real-time gateway checks to drastically reduce Cash on Delivery (COD) fraud.
* **Advanced Phone Field & Country Code:** Auto-detect visitor locations, format numbers dynamically, and validate prefixes instantly.
* **Interactive Chat Widget:** Support multi-agent routing, display conditions, and auto-generated QR codes to talk directly with your store visitors.
* **Omnisearch & Global Access:** Instantly find logs, messages, and configurations across your entire dashboard using the built-in [Global Omnisearch Engine](https://help.wawp.net/en/articles/wawp-global-omnisearch).

**More automation, less work—sell smarter and grow faster with Wawp! ✨**

---

### ⚠️ Important Notice (SaaS Integration)
This plugin acts as a gateway and relies on the **Wawp.net SaaS service** to handle encrypted WhatsApp Web connection, API routing, and cloud delivery. 
* To unlock all core features, a Wawp account is required.
* New accounts get **120 free messages per month** out of the box!
* **Get Started:** [Create your free account here](https://app.wawp.net/signup)
* **Legal:** Review our [Terms of Service](https://wawp.net/terms-of-services/) and [Privacy Policy](https://wawp.net/privacy-policy/).


== 💎 Unlock Premium Growth (Wawp PRO Features) ==

Upgrade to our premium plans to unlock enterprise-grade marketing and advanced communication workflows designed to scale your store's conversions:

* **Abandoned Cart Recovery:** Automatically target and recover lost sales by sending personalized WhatsApp reminders to customers who leave checkout early.
* **Bulk Campaigns & Broadcasts:** Send mass marketing campaigns and targeted promotional updates to your customer list with intelligent protection tools.
* **Official Meta API (WhatsApp Cloud API):** Scale to unlimited messaging with a robust, cloud-based business gateway infrastructure.
* **Firebase SMS Integration:** Bulletproof backup authentication channel utilizing native Firebase phone tokens for global OTP delivery.
* **Custom & Colored WooCommerce Statuses:** Take absolute control over your workflow by automating and color-coding custom WooCommerce order statuses.
* **Multilingual Notifications Framework:** Automatically route and translate WhatsApp triggers based on the customer's selected checkout language.
* **AI-Powered Configuration Assistant:** Configure, troubleshoot, and optimize your plugin setup instantly with an integrated AI copilot.
* **Custom HTML Email Templates:** Go beyond text and design beautiful, high-converting transactional emails to match your store branding.

👉 [Check Out Our Premium Pro Plans & Pricing](https://wawp.net/en/pricing)


== 🤖 Automated Notifications ==

Manage and deploy targeted transactional messages using our official [Automated Notifications Guide](https://help.wawp.net/en/articles/automated-notifications) to ensure absolute delivery accuracy. Craft your texts perfectly with the [Wawp Smart WhatsApp Message Editor Documentation](https://help.wawp.net/en/articles/whatsapp-message-editor).

* **New Order Notification** – Send WhatsApp messages to customers with full order details immediately after checkout.
* **Order Status Updates** – Automatically notify customers about updates or shifts in their order status.
* **Admin/Staff Alerts** – Receive real-time WhatsApp alerts for new orders, high-value checkouts, and system updates.
* **After Purchase Upsell** – Schedule automated follow-up messages to re-engage customers and drive repeat sales.
* **Pending Payments** – Send gentle, automated reminders for pending invoices to recover lost revenue faster.
* **Product Reviews** – Collect valuable customer reviews on auto-pilot with customized WhatsApp follow-up requests.

**Supported Order Statuses:**

* **Pending Payment** – Notify customers immediately about unpaid orders to recover checkout conversions.
* **On Hold** – Inform clients about orders waiting for custom admin or payment confirmation.
* **Processing** – Let customers know their order is successfully received and being prepared.
* **Completed** – Confirm successful order packaging, dispatch, or final delivery.
* **Failed** – Notify customers instantly of failed or declined transactions to prompt a retry.
* **Draft** – Keep seamless track of unfinished checkout orders and internal layouts.
* **Canceled** – Alert customers automatically if an order has been canceled by the admin or system.
* **Refunded** – Inform clients about successful refunds and financial reversals.
* **Customer Note** – Send custom notes and manual update alerts directly to the customer's phone.
* **Custom Status** – Set up tailored automated notifications for *any* custom order status on your store.


== 🔐 User Authentication ==

Deploy bulletproof access management. Review our documentation on [About Authentication Pages Settings](https://help.wawp.net/en/articles/about-authentication-pages-settings) to secure and optimize your forms.

* **Blacklist Numbers** – Block fake accounts, bots, and spam numbers system-wide to prevent SMS/OTP abuse.
* **Multiple Login Options** – Enable fluid login via WhatsApp OTP, Email OTP, or classic Email & Password. Read the [Passwordless Login Guide](https://help.wawp.net/en/articles/passwordless-login).
* **Signup Verification** – Ensure database quality by verifying new user registers via our optimized [Registration Form Framework](https://help.wawp.net/en/articles/registration-form).
* **Role-Based Redirects** – Automatically route users to custom dynamic pages based on their WordPress role after logging in.
* **Google reCAPTCHA** – Secure Login, Registration, and Lost Password forms with integrated reCAPTCHA v2/v3 protection.
* **Chic Settings UI & Guidance** – Manage components inside a modern interface with smart guidance bars and dark/light preview updates.
* **One-Click Preview** – Instantly view and test your active Login/Signup configurations directly from the backend dashboard.

= Shortcodes for Easy Integration =
* **Login Form:** `[wawp_otp_login]`
* **Signup Form:** `[wawp_signup_form]`
* **Combined Forms:** `[wawp-fast-login]`

= 100% Compatible With =
* **Page Builders:** Elementor, Bricks Builder, Gutenberg Block Editor.
* **Forms & Core:** Native WordPress Forms, Native WooCommerce Forms & Checkout.


== 🛒 WooCommerce Order Verification ==

Eliminate fraudulent accounts and fake orders by forcing a secure WhatsApp OTP verification badge right before checkout.

* **Targeted Verification** – Restrict and trigger OTP prompts for *visitors, members, or everyone*.
* **Gateway Dependencies** – Enable OTP gating based on payment methods (e.g., enable strictly for Cash on Delivery (COD)).
* **Shipping Gateways** – Trigger phone check verification exclusively for specific shipping options.


== 💬 WhatsApp Chat Widget ==

Engage with your visitors directly on their favorite messaging app. Learn how to configure your widget using our [WhatsApp Chat Button Guide](https://help.wawp.net/en/articles/whatsapp-chat-button).

* **Multi-Agent Support** – Easily assign custom floating contact cards for Support, Sales, or Billing lines.
* **Display Conditions** – Dynamically control widget visibility based on device criteria or targeted site pages.
* **Fully Customizable** – Absolute styling control over layout design, coloring, custom icons, and placement.
* **Social Integrations** – Embed direct social profile shortcuts inside your central floating interface.
* **Auto-QR Generation** – Instant responsive QR mapping for desktop traffic to scan and chat on mobile.
* **Click Metrics Analytics** – Track internal widget usage parameters to accurately analyze client engagement.


== 🌍 Country Code & Validation ==

Optimize your checkout phone inputs. For step-by-step instructions, read our guide on [How to Setup Advanced Country Code](https://help.wawp.net/en/articles/advanced-country-code).

* **Number Validation** – Analyze and parse incoming numbers in real-time to avoid entry mistakes.
* **Auto-Detect Country** – Instantly pre-fill the local country prefix utilizing the visitor's dynamic location data.
* **Country Filtering** – Restrict or isolate your dropdown lists to display only the countries your store ships to.
* **Auto-Formatting Layout** – Numbers adapt, separate, and format dynamically as the end-user types.
* **Full Theme Harmony** – Works smoothly alongside popular themes without breaking layout styles.

[youtube https://www.youtube.com/watch?v=wZkXX5d5sZk]


== 📊 Diagnostics, Privacy & Activity ==

To protect localized data, geolocation runs 100% locally via internal client parameters without relying on external tracking lookup scripts. This plugin maintains a zero-behavior tracking standard. 

Diagnostic metrics and telemetry parameters are monitored locally inside your central analytics logs. Check the official [Activity Hub System Guide](https://help.wawp.net/en/articles/activity-hub) to track connection parameters. Configure your fallback messaging pipelines using our walkthrough on [How to Setup SMTP Email](https://help.wawp.net/en/articles/how-to-setup-smtp-email). Data is only shared with the SaaS core if explicit support permission keys are enabled by the administrator.


== 📜 Messages History ==

* **Central Logging Logs** – Track comprehensive delivery profiles including payload, recipient metadata, and timers.
* **Advanced Queries** – Sort, filter, and isolate specific dispatches using high-performance live search filters.
* **Failure Identification** – Instantly parse failed logs to quickly troubleshoot and pinpoint delivery network issues.
* **One-Click Resend** – Manually re-route or retry failed entries instantly with a single dashboard action.


== 🎨 Personalization ==

* **Dynamic Data Fields** – Utilize contextual variables (`{{customer_name}}`, `{{order_id}}`) for highly personalized dispatches.
* **Native Emoji Utility** – Complete support for modern layout emojis to craft relatable brand voices.
* **Rich Media Payload** – Embed custom image assets and dynamic attachments into automated message triggers.


== 👤 Customer Management ==

* **Status Verification** – Verify if an existing user profile is associated with a verified active WhatsApp account.
* **Profile Number Linking** – Track and link all historic connection accounts assigned for checkout, login, or notifications.

> **Note:** Administrators can assign entirely independent, distinct WhatsApp sender channels to distribute notifications, system status updates, and OTP tokens separately.


== External Services ==

This plugin acts as a gateway to external Software as a Service (SaaS) providers. Use of these services is optional and requires explicit user configuration. To ensure full transparency and compliance, we disclose the following external service integrations:

= 1. Wawp.net (Core Service) =

* **Service:** Wawp.net API Gateway
* **Description:** Provides the infrastructure for WhatsApp Web connection, message routing, and phone number validation.
* **Compliance:** All communication is encrypted via HTTPS. Wawp.net does not store your customers' data beyond the time required for delivery routing.
* **Data Sent:** Recipient phone number, message payload, site URL, and authentication tokens.
* **Consent:** Granted by configuring a Wawp Instance and activating any notification trigger.
* **Policies:** [Terms of Service](https://wawp.net/en/legal/terms-of-service) | [Privacy Policy](https://wawp.net/en/legal/privacy-policy)

= 2. Meta (WhatsApp Cloud API) =

* **Service:** Official WhatsApp Business Platform (graph.facebook.com, connect.facebook.net)
* **Purpose:** Used for enterprise-grade message delivery via Meta's official infrastructure.
* **Data Sent:** Recipient phone number, template parameters, and Meta App credentials.
* **Consent:** Granted only if the "Meta WhatsApp" channel is explicitly selected and configured.
* **Policies:** [Meta Commerce Terms](https://www.facebook.com/legal/commerce_product_merchant_agreement) | [Meta Privacy Policy](https://www.facebook.com/about/privacy/)

= 3. WhatsApp (Direct Chat Interaction) =

* **Service:** WhatsApp Public API (api.whatsapp.com)
* **Purpose:** Enables the Chat Widget to redirect users to the WhatsApp application with a pre-filled message.
* **Data Sent:** Recipient phone number and optional message text. No data is sent automatically; redirection happens only upon user interaction (click).
* **Consent:** Granted by enabling the Chat Widget and a user clicking the chat button.
* **Policies:** [WhatsApp Terms](https://www.whatsapp.com/legal/terms-of-service/) | [WhatsApp Privacy](https://www.whatsapp.com/legal/privacy-policy/)

= 4. Google reCAPTCHA & Firebase =

* **Service:** Security & Authentication Platform
* **Purpose:** Prevents bot abuse (reCAPTCHA) and optionally provides OTP verification (Firebase).
* **Data Sent:** Device/application information for fraud analysis and phone numbers for verification.
* **Consent:** Granted when these features are explicitly enabled in settings.
* **Policies:** [Google Terms](https://policies.google.com/terms) | [Google Privacy](https://policies.google.com/privacy) | [Firebase Privacy](https://firebase.google.com/support/privacy)

= 5. WordPress.org API =

* **Service:** WordPress Core API (api.wordpress.org)
* **Purpose:** Used internally by the System Info module to verify if the plugin version matches the latest stable version available.
* **Data Sent:** Standard HTTP headers required for version checking.
* **Consent:** Automatic when loading the system info.
* **Policies:** [WordPress.org Privacy Policy](https://wordpress.org/about/privacy/)

= 6. Geolocation & Privacy =

* **Local Processing:** To protect user privacy, geolocation is handled 100% internally using the browser's timezone API; **no external IP-lookup services** (such as ipapi.co or ip-api.com) are used by this plugin.
* **Zero-Tracking Policy:** This plugin does not collect or track admin behavior. No data is sent to external servers without explicit consent and connection to the respective service.
* **Dashboard Analytics:** Statistics (message delivery, chat clicks) are generated locally from your site's database and used only for internal monitoring.
* **Assets:** All core CSS, JS, and font files are bundled locally to prevent third-party asset tracking.


== 📃 How to Start ==

1. Install and activate the Wawp plugin.
2. Create a free account on [Wawp](https://app.wawp.net/signup).
3. Connect your WhatsApp number using a QR code.
4. Insert the API keys into the plugin.
5. Customize your selected notification messages.

**Note:** A Wawp account is required to access all plugin features.  
[**Create new account**](https://app.wawp.net/signup), and send 120 WhatsApp messages per month for Free.   

= Let’s grow, connect, and thrive together! =  

👉 [**Try Wawp for FREE (120 Messages/Month)**](https://app.wawp.net/signup)  
📌 [**Facebook Community**](https://www.facebook.com/groups/wawpcommunity) – Join other users for support, advice, and tips.    
📚 [**Getting Started Tutorials**](https://help.wawp.net/en/articles/how-to-install-activate-wawp-on-wordpress) – Access step-by-step installation guides and setup documentation.  
⭐ [**Rate Us on WordPress**](https://wordpress.org/support/plugin/automation-web-platform/reviews/#new-post) – Your feedback helps us grow and improve!  
🌍 [**Help Translate Wawp**](https://translate.wordpress.org/projects/wp-plugins/automation-web-platform/) – Make Wawp localized and accessible globally! 
📽 [**Video Tutorials Channel**](https://www.youtube.com/@wawpapp)


== Source Code & Build Tools ==

This plugin uses modern development tools (React, Vite, NPM) to build the administrative dashboard. To comply with WordPress.org guidelines regarding human-readable code:

1. **Plugin Source Code:**
The full, non-minified, human-readable source code for the React dashboard is included within this plugin package in the `app/src/` directory.
- **Main Entry:** `app/src/index.tsx`
- **Components:** `app/src/components/`
- **Build Tool:** Vite (configuration in `app/vite.config.ts`)
- **Build Instructions:** To generate the minified assets in `app/dist/`, navigate to the `app/` directory and run:
  `npm install`
  `npm run build`

2. **Third-Party Libraries:**
The following libraries are included in minified form for performance. Their original source code can be found at these public repositories:
- **International Telephone Input (intl-tel-input):** [Source](https://github.com/jackocnr/intl-tel-input) (Used in `assets/js/resources/intlTelInput.min.js`)
- **QRCode.js:** [Source](https://github.com/davidshimjs/qrcodejs) (Used in `assets/js/resources/qrcode.min.js`)
- **Firebase SDK (Compat):** [Source](https://github.com/firebase/firebase-js-sdk) (Used in `assets/js/resources/firebase-auth-compat.js` and `firebase-app-compat.js`)
- **Facebook SDK:** [Source](https://github.com/facebook/facebook-nodejs-business-sdk) (Used in `assets/js/resources/fb-sdk.js`)
- **MCP Ready Protocol:** Engineered fully in compliance with the cloud structure defined at [Wawp MCP Core](https://api.wawp.net/en/docs/mcp-ready).


== Installation ==

1. Install using the WordPress built-in Plugin installer, or Extract the zip file and drop the contents in the `wp-content/plugins/` directory of your WordPress installation. Review our detailed [Installation and Configuration Guide](https://help.wawp.net/en/articles/how-to-install-activate-wawp-on-wordpress) for structured deployment.
2. Activate the plugin through the **‘Plugins’** menu in WordPress.
3. Create new account on [**Wawp.net**](https://app.wawp.net/signup)
4. Connect your whatsapp with qr code in [**Wawp dashboard**](https://app.wawp.net/linked-numbers)
5. Add instances in Wawp plugin in the `wp-admin/admin.php?page=wawp&wawp_section=senders`
6. Now you can automate your conversations, and unlock WhatsApp superpowers.

For documentation and tutorials visit our [**Knowledge Base & Support Center**](https://wawp.net/en/contact).

[youtube https://www.youtube.com/watch?v=cdL-P-9ZXW0]


== Frequently Asked Questions ==

**How do I get started with Wawp?**

Simply install our free plugin on your WordPress site, connect your WhatsApp number, and configure your preferred features. Read our [detailed guide](https://wawp.net/get-started/welcome-to-wawp/).

**Is Wawp Free?**

Yes, Wawp offers a free plan that includes 123 free messages each month. You can upgrade to the [any plan](https://wawp.net/) to send unlimited more messages.

**Do I need to signup for WhatsApp API?**

No, you do not need WhatsApp API at all. Wawp is simple to use and is affordable.

**Are there any additional costs by WhatsApp?**

There is no additional payment taken by WhatsApp to use Wawp.

**Can I use Wawp for multiple WhatsApp numbers?**

Yes, Wawp supports unlimited sites and multiple WhatsApp numbers, making it ideal for businesses with diverse operations.

**Can I disconnect my WhatsApp number?**

Yes, Wawp allows you to disconnect your WhatsApp number with just one click, giving you complete control over your account.


== Screenshots ==

1. connect your Whatsapp
2. Assign Custom Number
3. Advanced Phone Field
4. Auto-Retry Mechanism
5. Block Manager
6. Checkout Verification
7. Country Code Selector
8. Multilanguage Notifications
9. Multi Agent Chat Button
10. Notifications Builder
11. Passwordless Login
12. Receive Orders Instantly
13. Registration form Builder
14. Send Order Notifications
15. Setup Smtp Easily

[youtube https://www.youtube.com/watch?v=oQG9y4T2mLo]


== Upgrade Notice ==

= 4.8.5 =
Important code optimization, enhanced notifications sending performance, new Email Templates for design custom login email templates, and improved Activity Hub logs.


== Changelog ==

= Version: 4.8.5 – Date: 20-06-2026 =
- **Enhancement:** Improved the Activity Hub to read sending logs and connection details more accurately with enhanced filtering.
- **New:** Added Email Templates support to design professional custom email templates for the login form.
- **Performance:** Improved notification sending efficiency and delivery dispatch performance.
- **Optimization:** Code optimization and cleanup of deprecated helper methods.

= Version: 4.8.4 – Date: 14-06-2026 =
- **Optimization:** Optimized Wawp Core API sync connections and handled webhook telemetry fallback routines.
- **Enhancement:** Fully unified Global Omnisearch dashboard modules.

= Version: 4.8.3 – Date: 05-06-2026 =
- Tested up to WordPress 7.0.
- Removed unused files and assets.

= Version: 4.8.2 – Date: 16-05-2026 =
- **Security:** Resolved 17 instances of non-validated inputs by implementing strict WordPress-standard nonce and capability checks across all API and AJAX handlers.
- **Compliance:** Updated third-party libraries (including libphonenumber-for-php) to the latest stable versions for enhanced security.
- **Compliance:** Replaced all remote placeholders and external assets with local alternatives to ensure 100% compliance with WordPress repository remote file policies.
- **Refinement:** Standardized granular sanitization for nested settings arrays to ensure robust data integrity.
- **Fix:** Corrected database schema conflicts and improved synchronization reliability for user meta fields.

= Version: 4.8.1 – Date: 10-05-2026 =
- **Compliance Update:** Unlocked all core functionalities for standalone deployment.
- **Enhancement:** Eradicated vestigial restriction text string from translation components.
- **Security:** Hardened sender initialization routines with dynamic validation to prevent runtime conflicts.

= Version: 4.7.9 – Date: 09-05-2026 =
- **New Architecture:** Major refactoring to a trait-based modular system for better performance and maintainability.
- **Security:** Standardized AJAX security with centralized nonce and capability checks across all modules.
- **UI Optimization:** Centralized all SVG assets and UI helpers to reduce plugin footprint and improve load speed.
- **DB Optimization:** Implemented dynamic schema-driven table management for more robust database operations.
- **Standardization:** Unified phone number sanitization and formatting using the new global Phone Helper Trait.
- **Compliance:** Standardized all module behaviors to align with WordPress.org security and privacy guidelines.
- **SaaS Transition:** Replaced restrictive access logic with a compliant "Cloud Service Connection" UI for SaaS-based features.
- **New:** Full refactoring of all date/time functions to use Carbon library for better timezone handling and consistency.
- **Enhancement:** Fixed i18n missing translators comments for strings with placeholders.
- **Enhancement:** Cleaned up development and application files (composer.phar, php-scoper.phar, etc.) from the plugin package.
- **Optimization:** Improved message parsing logic and placeholder fallbacks.
- **Cleanup:** Removed unused assets and temporary test files.
- **New:** Integration of Meta API into Bulk Campaigns with dedicated settings.
- **New:** Added support for Meta Template Messages (dropdown selection) in Campaigns.
- **New:** Added dedicated text area with emoji support for Meta API messages (24-hour window) in Campaigns.
- **New:** Added "Meta API Estimated Recipients" count to the Campaign Wizard.
- **Enhancement:** Added missing translation strings to ensure full localization support.
- **Enhancement:** Updated Wawp API for sending WhatsApp messages.
- **Bug Fixes:** Fixed WhatsApp message delivery for Latin American phone numbers by adding automatic prefix handling for 8 countries:
  - Mexico (+52): Automatically adds '1' prefix (e.g., 525574771886 becomes 5215574771886)
  - Colombia (+57): Automatically adds '1' prefix (e.g., 573001234567 becomes 5713001234567)
  - Argentina (+54): Automatically adds '9' prefix for mobile numbers (e.g., 541112345678 becomes 5491112345678)
  - Brazil (+55): Automatically adds '9' prefix for mobile numbers (e.g., 551112345678 becomes 5591112345678)
  - Chile (+56): Automatically adds '9' prefix for mobile numbers (e.g., 56212345678 becomes 569212345678)
  - Venezuela (+58): Automatically adds '4' prefix for mobile numbers (e.g., 582121234567 becomes 5842121234567)
  - Peru (+51): Automatically adds '9' prefix for mobile numbers (e.g., 51987654321 becomes 51987654321)
  - Ecuador (+593): Automatically adds '9' prefix for mobile numbers (e.g., 593987654321 becomes 5939987654321)
- **Bug Fixes:** Fixed AJAX error in Users page Send button - corrected send_message method parameters to use proper API signature.
- **New:** Google ReCAPTCHA integration (v2 & v3) for Login, Registration, and Checkout forms.
- **New:** Added live real-time preview for the WhatsApp Chat Widget in the backend settings.
- **New:** High-fidelity "Snapshot" summary blocks added to WhatsApp History, Meta WhatsApp History, and Email History.
- **New:** Implemented a modern "Actions" dropdown for Bulk Campaigns for a cleaner table UI.
- **New:** Automatically enable/disable "Redirect wp-login.php" based on WhatsApp instance connectivity status.
- **New:** Unified Admin Settings Footer Bar across all core settings (Passwordless Login, Registration, Checkout, Country Code, Chat Widget, Notifications, and Senders).
- **New:** Intelligent "Unsaved Changes" manager warns users before leaving pages with unsaved data, with smart bypass for programmatic reloads in Senders, Campaigns, and Logs.
- **New:** Order Quick Actions Box – A floating sidebar card on the WooCommerce single order page for sending WhatsApp updates and status notifications instantly.
- **New:** Unified Placeholder "Cheat Sheet" – Reorganized and expanded message placeholder documentation into 5 clear categories: General, Orders, Abandoned Carts, Campaigns, and OTP.
- **Enhancement:** RTL/LTR Directional Fix – Implemented Unicode directional markers (LRM/RLM) to prevent text distortion when mixing Arabic and Latin content in WhatsApp.
- **Enhancement:** Advanced Metadata Parsing – Improved fallback logic for identifying custom order and user meta placeholders across all modules.
- **Enhancement:** Notifications Builder – Integrated the new exhaustive placeholder engine and "N/A" fallback logic to ensure 100% template accuracy and prevent empty/broken message gaps during automated sends.
- **Enhancement:** Restored "Choose WhatsApp Sender" section to the WhatsApp Web tab and added a "Connect WhatsApp" guidance card for offline instances.
- **Enhancement:** Advanced Phone Field settings upgraded with modern toggles and instant, color-coded status indicators (removing cluttered text labels).
- **Enhancement:** Improved SMTP settings visibility; the Save button is now persistent even when SMTP is disabled for easier management.
- **Enhancement:** Cleaned up WooCommerce "My Account" and "Checkout" pages by removing duplicate registration forms and standard login fields when using Wawp forms.
- **Enhancement:** Unified all "Docs" and "Help Center" links across sender settings to point to a single, relevant tutorial article.
- **Enhancement:** Added a mobile sidebar toggle button to the top bar for better responsiveness.
- **Enhancement:** Fixed delayed visibility of tabs on the settings page.
- **Enhancement:** Revamped System Status UI with a 3-tier status system (Red/Orange/Green).
- **Enhancement:** Added manual refresh capability and relocated action buttons for better UX.
- **Enhancement:** Refined "Update Available" banner design for better visibility and consistency.
- **Enhancement:** Added immediate user feedback messages (toasts) for instance actions (Check Status, Send Test, Delete).
- **Enhancement:** Refactored WhatsApp History settings into a Modal popup to maximize workspace.
- **Enhancement:** Enriched Bulk Campaigns table with detailed columns: Type, Audience, Starts, and Frequency.
- **Enhancement:**Authentication Pages Settings UI with a new premium "Chic" design.
- **Fix:** Resolved critical sending issues in Notifications Builder where mixed Arabic/English text would break message layout or cause text distortion, now fully protected by Unicode isolation markers.
- **Fix:** Ensured consistent CSS styling across all history pages by optimizing asset enqueuing.
- **Fix:** Prevent API blocking by other plugins (e.g., Codevz Plus) by adding bypass parameter to all external API requests.
- **Fix:** Resolve country flag image loading issues and plugin conflicts by using unique asset handles and absolute paths.
- **Performance:** Fine-tuned AJAX interactions for instant UI feedback and synchronized Senders saving with the global footer state.
- **Performance:** Dynamic Status Bar (Green Bar) for Integration settings with detailed guidance text.
- **Performance:** "Create & Set" button now becomes "View Page" when a page is active.
- **Performance:** New status indicators for Notification Preferences and Phone Bar visibility.
- **Performance:** Optimized "Sender Settings" page to load instantly by deferring system status checks.
- **Performance:** Implemented asset cleanup to dequeue third-party plugin scripts/styles from WAWP admin pages.
- **Performance:** Optimized Block Manager to lazy-load dependencies (intl-tel-input) only when accessed, reducing initial page load weight.
- **Performance:** Refactored capability checks to use specific 'WAWP_CAPABILITY' ('manage_wawp') instead of generic 'manage_options' for better role management and security.
- **New:** Added Meta API support to Bulk Campaigns - send campaigns via WhatsApp Meta API alongside WhatsApp Web and Email.
- **New:** Added live search functionality to Bulk Campaigns table - instantly filter campaigns by name or ID.
- **New:** Added bulk delete capability to Bulk Campaigns - select and delete multiple campaigns at once with confirmation.
- **New:** Added checkbox selection to Bulk Campaigns table with "Select All" functionality.
- **New:** Added Admins WhatsApp Notifications option in Sender Settings to allow selecting specific instances for admin alerts.
- **New:** Added {{wc-order-items}} placeholder - displays order products with quantities and prices separated by commas (e.g., "1. Product Name x 2 = $ 50.00, 2. Another Product x 1 = $ 25.00").
- **New:** Added {{wc-order-items-br}} placeholder - displays order products with quantities and prices, each on a separate line with line breaks.
- **Enhancement:** Improved Create Campaign interface - channels now work as mutually exclusive options (only one channel can be active at a time).
- **Enhancement:** Enhanced UI visibility in Create Campaign - automatically hide irrelevant sections and dividers based on selected channel.
- **Enhancement:** Improved campaign dashboard with cleaner interface showing only active channel settings.
- **Enhancement:** Updated channel selection description to include Meta API as a valid standalone option.
- **Enhancement:** Fixed Meta API logging when multiple channels are enabled together.
- **Enhancement:** Implemented intelligent routing logic to send Admin notifications via the dedicated Admin-selected instance.
- **Enhancement:** Added admin_selected_instance_ids column to the notif_global database table to store admin preferences.
- **Enhancement:** Renamed the existing notification selector to Users WhatsApp Notifications to clearly distinguish between customer and admin sender lines.
- **Enhancement:** Applied Select2 styling to the new Admin Notifications dropdown for a consistent multi-select UI.
- **Enhancement:** Added fallback logic: if no specific Admin instance is selected, the system defaults to the User instance.
- **Bug Fixes:** Fixed a critical issue in the Notifications Builder where "Channels" and "Recipients" values were not saving due to a duplicate hidden input field.
- **Bug Fixes:** Fixed indentation issues in Meta API send_meta_message function that caused logging errors.
- **Bug Fixes:** Resolved JavaScript validation to properly recognize Meta API as a valid channel option.
- **New:**: Added Country Code +972 for Palestine 48 Lands
- **New:**: Added Country Code direction Auto /Right / Left (OR Based on site language) 
- **New:**: Supoort Link Privew on send by Wawp API any notifaction
- **New:**: Set Online Status for Whatsapp when before Send by Wawp API
- **New:**: Added the ability to upload a custom image instead of a product image to Notifications Builder
- **New:**: Added ability to customize the "Intro" and "Outro" text on the Phone Verification Bar.
- **New:**: Added a customizable WhatsApp OTP message template for phone verification.
- **Enhancement:**: Carrier Lookup Vendor File for Advanced Phone Field
- **Enhancement:**: updated API Send method for notifactions , bulk campagins and WhatsApp Messages History
- **Enhancement:**: Improving the connection between the plugin and Wawp.net
- **Enhancement:**: Added smart auto-selection logic for WhatsApp Senders to automatically switch to an available instance if the selected one goes offline or is deleted
- **Enhancement:**: Implemented immediate cache clearing on instance status updates to ensure "Sender Settings" dropdowns update instantly
- **Enhancement:**: Improved the "Phone Verification Bar" settings UI by grouping the toggle and customization fields into a single, cleaner card.
- **Enhancement:**: Refactored admin settings code to separate CSS from PHP logic for better performance and layout stability.
- **Bug Fixes:**: Fix Send images when send by Wawp API
- **Bug Fixes:**: Fix the issue of Multilingual Notifications being disabled when saving notifications
- **Bug Fixes:**: Fix the problem of sending messages when there is an image in the message in Notifications Builder
- **Bug Fixes:**: Fix the problem of product selection in Product Filter for Notifications Builder (The results could not be loaded.) 
- **Bug Fixes:**: Fix slow email sending issues in Bulk Campaigns
- **Bug Fixes:**: Fix the "Security check failed. Please go back and try again" error when saving or editing a current campaign in Bulk Campaigns
- **Bug Fixes:**: Fix the problem of fetching products in the product targeting step of Bulk Campaigns
- **Bug Fixes:**: Fix switch buttons for Enable Field on Signup Form and Required Field in the Registration Form
- **Bug Fixes:**: Fix the issue of icons not loading for the Manage Custom Field in the Registration Form
- **Bug Fixes:**: Fix the issue where "Choose WhatsApp Sender" showed "No online instances found" despite having connected instances
- **Bug Fixes:**: Fix the problem where page refresh would show stale "Offline" status after an instance successfully connected

= Version: 4.2 – Date: 14-12-2025 =
- **Enhancement:** Code optimization.

= Version: 4.1.1 – Date: 07-12-2025 =
- **Enhancement:** Code optimization.

= Version: 4.1.0 – Date: 04-12-2025 =
- **Bug Fixes:** get_page_by_title() has been deprecated since WordPress version 6.2.0. replaced with WP_Query instead.
- **Enhancement:** Remove unused assets Css/JS files
- **Enhancement:** The international phone number input has been updated to the latest version and moved to the add-on files instead of requiring it remotely.
- **Enhancement:** Code optimization.
- **Bug Fixes:** CSS issues in the OTP login form on the main page have been fixed.
- **Bug Fixes:** JS issues in the Notifications Builder feature have been fixed.

= Version: 4.0.5.1 – Date: 01-11-2025 =
- **Bug Fixes:** Remix icons not load on frontend and backend
- **Bug Fixes:** Can't enable Passwordless Login , Registration Form Builder , WooCommerce Checkout Verification

= Version: 4.0.5 – Date: 30-10-2025 =
- **New:** Abandoned Cart addon is now available.
- **New:** The official Meta API is now available.
- **New:** Meta API LOG has been added.
- **New:** Carrier Lookup for Advanced Phone Field.
- **New:** WhatsApp Check for Advanced Phone Field.
- **New:** A new AI-powered support center is available to answer any questions regarding the plugin.
- **New:** Supporting new Flags for Advanced Phone Field, including the Syrian flag.
- **New:** Remote Support has been enabled for secure access from the support service to your site to resolve problems without the need to send the password every time via a security key that you generate yourself and send to support.
- **Enhancement:** Phone Fields support now Gutenberg Editor.
- **Enhancement:** Dashboard has been redesigned and linked to tools and services.
- **Enhancement:** The sidebar has been redesigned for greater clarity when managing the plugin.
- **Enhancement:** Bulk Campaigns has been redesigned.
- **Enhancement:** New diagnostic information has been added within Wawp System Status.
- **Enhancement:** 3x better performance in plugin setup and management.
- **Enhancement:** 5x more stable message sending.
- **Enhancement:** intl tel input library has been updated for version 25.xx
- **Enhancement:** Passwordless Login has been improved
- **Enhancement:** Registration Form has been improved
- **Enhancement:** Improved all translation files associated with the plugin
- **Bug Fixes:** CSS issues in the OTP login form on the main page have been fixed.
- **Bug Fixes:** JS issues in the Notifications Builder feature have been fixed.

= Version: 4.0.3.12 – Date: 15-08-2025 =
- **New:** Add two button in whatsapp frontend chat widget direct whatsapp and scan qr to open conversitaion
- **New:** Add trigger & channels icon in card header
- **New:** Add trigger name in card header
- **New:** Add recieptant and waiting time badges in card header
- **Enhancement:** UX Writing
- **Enhancement:** Ui across plugin
- **Enhancement:** Notification card ui & ux
- **Enhancement:** Email & WhatsApp History pages ui design
- **Enhancement:** WhatsApp History Auto Resend function
- **Enhancement:** API updated
- **Enhancement:** Code optimization
- **Bug Fixes:**  Send Woocommerce notification more than once when sending is set to timed and not instan.


= Version: 4.0.3.11 – Date: 09-09-2025 =
- **New:** Add a timer when sending an OTP to reduce the number of times the OTP is requested for the login page.
- **New:** Add a feature to redirect the user to the Signup form and automatically retrieve the number he entered if he is not registered on the site.
- **Enhancement:** System info page reduces information fetching to improve site response speed.
- **Enhancement:** The cron jobs interval spacing in the plugin has been adjusted and the notification sending efficiency has been improved.
- **Enhancement:** Code optimization.


- **New:** Added "Add Unique IDs/Message IDs" to the dashboard to switch to sending using Campaign Builder & Notifications to protect numbers more when sending heavily.
- **Bug Fixes:**  Send Timing option fix > Notifications Bulider The problem is that all times are sent immediately.
- **Enhancement:** For Notifications Bulider Code
- **Enhancement:** Code optimization.

= Version: 4.0.3.10 – Date: 04-08-2025 =
- **New:** Added "Add Unique IDs/Message IDs" to the dashboard to switch to sending using Campaign Builder & Notifications to protect numbers more when sending heavily.
- **Bug Fixes:**  Send Timing option fix > Notifications Bulider The problem is that all times are sent immediately.
- **Enhancement:** For Notifications Bulider Code
- **Enhancement:** Code optimization.

= Version: 4.0.3.9 – Date: 31-07-2025 =
- **Enhancement:** Updated Checkout OTP Placeholders for Gusts and linked to Checkout form
- **Enhancement:** Improved placeholders for all others Classes
- **Enhancement:** Translations updated for all languages.
- **Enhancement:** Send test email smtp
- **Enhancement:** Improve notification sending if Send Timing filter is set
- **Deprecated:** The QR linking from within the plugin has been removed and will be improved and released again soon.


= Version: 4.0.3.8 – Date: 31-07-2025 =
- **New:** Delivery Status you can know got message status (sent, Delivered, Read) 
- **New:** New whatsapp log data (Total Logged,WhatsApp Sent,Unique Reads,WhatsApp Pending,Send Errors,Unique Recipients)
- **Added:** Dangerous Zone to clear any wawp table on one click
- **Enhancement:** improved get table status on System status info page


= Version: 4.0.3.7 – Date: 30-07-2025 =
- **New:** Show **Typing...** on Whatsapp before Send otp or any other message to improve user experience.
- **Enhancement:** On load check if db have any Missing Columns to fix it
- **Enhancement:** Wawp API to send Image Case Send Product Image on Notifications Bulider
- **Enhancement:** Code optimization


= Version: 4.0.3.6 – Date: 29-07-2025 =
- **Enhancement:** Updated Wawp system info data
- **Enhancement:** Improved Auto ReSend and log status
- **Bug Fixes:** send message from users.php to single user
- **Bug Fixes:** [object Object] in notifaction builder
- **Bug Fixes:** Improved Css on Checkout page Case some fildes removed

= Version: 4.0.3.5 – Date: 27-07-2025 =
- **Enhancement:** Whatsapp log updated - removed old status from resend
- **Bug Fixes:** Update Auto check instance if online/offline
- **Bug Fixes:** Disable woocommerce normal login form when Wawp replace Wc option enabled
- **Bug Fixes:** Fix get auto instances data


= Version: 4.0.3.4 – Date: 26-07-2025 =
- **Enhancement:** API Updated
- **Enhancement:** Whatsapp log updated with new status.
- **Bug Fixes:** fix send product image with notifaction.


= Version: 4.0.3.3 – Date: 25-07-2025 =
- **Enhancement:** Improve Wawp Form Display Within Woodmart Theme
- **Enhancement:** Improved login/registration page feature
- **Enhancement:** Whatsapp log updated with new status.

= Version: 4.0.3.2 – Date: 24-07-2025 =
- **Enhancement:** API updated
- **Enhancement:** Code optimization
- **Enhancement:** Get status online

= Version: 4.0.3.1 – Date: 24-07-2025 =
- **Enhancement:** API updated
- **Enhancement:** Code optimization

= Version: 4.0.2 – Date: 17-07-2025 =

- **New:** Global feature toggles in Main Admin — enable/disable any plugin feature (previously limited to OTP & notifications).
- **New:** New: SMTP email sending support in Sender Settings.
- **New:** New: In‑plugin WhatsApp QR scan (no external window required).
- **New:** New: Import WhatsApp Number directly from the Wawp system.
- **New:** New: Per‑account control to allow QR & number import only on your account (great for resellers).
- **Enhancement:** Blocking tools moved to Sender Settings and improved; auto country‑code prepend when blocking numbers.
- **New:** System Info detects problematic database entries.
- **New:** Full cron health check built in (no extra plugin needed).
- **New:** 20+ diagnostic tests with one‑click manual fixes (single or bulk).
- **New:** Auto Fixer repairs common issues automatically (e.g., missing cron stopping sends).
- **New:** Unified Notifications panel replaces 3 separate areas.
- **Enhancement:** Configure triggers with instant or delayed delivery.
- **Enhancement:** Choose recipients per notification (admin, user, or both).
- **Enhancement:** Select delivery channel: WhatsApp only, Email only, or both.
- **Enhancement:** Conditional notifications by country, payment method, or product.
- **Enhancement:** User opt‑out controls for privacy / spam reduction.
- **Enhancement:** Auto‑attach product images in outgoing notifications when available.
- **Enhancement:** Improved OTP first‑attempt delivery success.
- **New:** Add custom fields to the registration form.
- **New:** Redirect wp-login.php to custom login page for added security.
- **New:** Redirect logged‑out visits to my-account toward your WooCommerce account/login flow.
- **Enhancement:** Full control over login/registration page configuration.
- **Enhancement:** WooCommerce login/register form replacement now optional (previously forced).
- **Enhancement:** Toggle Phone Verification Bar visibility on My Account page without affecting shortcode usage.
- **Enhancement:** Toggle Notification Preference buttons on frontend (shortcodes continue to work).
- **New:** Consolidated shortcode list in admin for quick copy/paste.

- **Enhancement:** WhatsApp Notification Logs — smarter Auto Resend logic.
- **New:** Auto Clear old WhatsApp logs (daily / monthly / yearly).
- **Enhancement:** Toggle Auto Resend on or off.
- **New:** Email Notification Logs section with delivery & read statistics.
- **Enhancement:** Setup Wizard performance and UX improvements.
- **New:** Wizard status panel shows site health, issue counts, and quick link to System Info.
- **Misc:** Numerous minor improvements and refinements throughout the plugin.

= Version: 4.0.1.11 – Date: 21-05-2025 =

- **New:** Sending statistics within user and manager notifications and follow-up
- **Enhancement:** Update WhatsApp number displayed for the chat button in the admin panel
- **Enhancement:** JS files in the manager folder have been reorganized, renamed and removed unnecessary ones.
- **Enhancement:** Code optimization
- **Bug Fixes:** fatal error :Parse error: syntax error, unexpected ‘->’ (T_OBJECT_OPERATOR) in /wp-content/plugins/automation-web-platform/includes/class-wawp-menu.php on line 236
- **Bug Fixes:** Parse error: error /wp-content/plugins/automation-web-platform/includes/class-wawp-phone-verification-bar.php on line 279  in  WAWP_Phone_Verification_Bar->enqueue_assets()


= Version: 4.0.1.10 – Date: 18-05-2025 =

- **New:** Added confirmation number bar to account area to confirm number by user from his account area use shortcode [wawp_phone_verification_bar]
- **Enhancement:** added auto load to make plugin load faster
- **Enhancement:** imoproved arabic translation
- **Enhancement:** Code optimization

Version: 4.0.1.9 – Date: 02-05-2025
   - **Enhancement:** Code optimization


= Version: 4.0.1.8 – Date: 26-03-2025 =
- **Enhancement:** Record OTP in the Log and support the Auto resend feature for OTP
- **Enhancement:** Code optimization

= Version: 4.0.1.7 – Date: 09-03-2025 =
Fix: Country code not load on signup page 

= Version: 4.0.1.6 – Date: 09-03-2025 =
Emergency update for auto resend

= Version: 4.0.1.5 – Date: 09-03-2025 =
- **New:** Woocommerce Gutenberg react field is supported to interact with country code
- **New:** The Auto Resend feature has been added with the ability to specify a number of times to try to send before stopping to ensure 100% sending.
- **New:** Delete log button added
- **New:** Added the ability to specify a sender for the notification log that does not work separately in case Woocommerce is not activated
- **New:** Spanish language added
- **Enhancement:** Improved advanced phone number feature
- **Enhancement:** Add option to convert country code from left to right according to RTL/LTR
- **Enhancement:** Tagify field block numbers is supported
- **Enhancement:** The design of the entire Plugin has been improved.
- **Enhancement:** Added enable and disable feature for basic support fields for country code
- **Enhancement:** 48 new countries were supported that were not supported, as well as the 48 lands inside the Palestinian
- **Enhancement:** The WhatsApp Chat Button feature has been re-divided to ensure better management of features and the icon has been hidden if no contact number has been added.
- **Enhancement:** Log statuses have been improved to display more accurate information.
- **Bug Fixes:** The clear filters button in the Log has been fixed.
- **Bug Fixes:** The problem of duplicating sending templates in the database when activating the plugin every time has been solved.
- **Bug Fixes:** Fixed issue where JavaScript files for intl tel input were not disabled when all country codes were disabled

= Version: 4.0.1.4 – Date: 24-02-2025 =
- **Enhancement:** code optimization

= Version: 4.0.1.3 – Date: 14-02-2025 =
- **New:** Adding The ability to set up “Choose the sender” has been added for all items from the Add sender page.
- **Bug Fixes:** The problem of sending OTP for a new account registration form has been fixed.
- **Enhancement:** The Sync Users button now deletes the + and 00 from the beginning of numbers, and the verified status of the users is kept as it was when synchronizing.
- **Enhancement:** When the number is updated by the administrator or user, the status is changed to unverified, and the login number and WooCommerce notification number are updated at the same moment in the user’s account.
- **Enhancement:** When the user login using WhatsApp OTP, the user will now be verified and his number status will change to verified.
- **Enhancement:** The login form has been integrated into the main Woocommerce form to reduce the need to use Shortcode (useful for people who rely on default login forms in their themes).
- **Enhancement:** Users w/ Phone number has been improved to fetch the number of accounts that contain numbers only.
- **Enhancement:** code optimization


= Version: 4.0.1.2 – Date: 12-02-2025 =
- **New:** Adding a field for the login phone number and notification number to the user account within my-account/edit-account
- **New:** Adding the ability for the WordPress administrator to update the status of a number from verified to unverified and vice versa
- **New:** Supports default Woocommerce login forms and replaces them with Wawp forms
- **Added:**  translations (Portuguese - French - Hindi - Italian - Spanish)
- **Enhancement:** Country code entry has been improved
- **Enhancement:** code optimization

= Version: 4.0.1.1 – Date: 07-02-2025 =
- **New:** Support Custom fields for WooCommerce Order meta
- **New:** Support Custom fields for WordPress User
- **Added:** Arabic Translate with Rtl
- **Bug Fixes:** otp not sent if woocommerce not active.
- **Bug Fixes:** images not saved after uploaded for woocommerce notifcation.

= Version: 4.0 – Date: 01-02-2025 =
- **Enhancement:** code optimization
- **Enhancement:** Blocking numbers has been made at the level of dealing with the site, such as entering as well, and is not limited only to the order page
- **Enhancement:** Enable/disable option to automatically detect country code is supported to reduce data consumption

= Version: 4.0 – Date: 31-01-2025 =
- **New Release Beta Version
- **New: ** OTP Login now had more settigns to make professional login form
- **New: ** OTP Signup now had more settigns to make professional login form
- **New: ** Chat widget feature with the ability to have multiple numbers and create a QR code directly for each number. It also supports adding links to other social media outlets.
- **New: ** The notification features have been reprogrammed to work using cron and not through the user’s device, using js to execute requests, orders, and any other operations faster.
- **New: ** Multiple employees have been supported to receive administrator notifications. Previously, they were assigned to only one number. Now you can specify unlimited numbers to receive notifications.
- **New: ** Sender selection is supported. Select the Wawp account ID to use to send notifications to the client or manager and the OTP for each feature separately for more customization.
- **New:** Follow-up message feature has been redeveloped, and now you can send a message to any case after any period, such as a minute, an hour, a day, or a custom time to talk to your customers better based on the status of the order.
- **New:** A Dashboard page with statistics is supported and added to better manage the plugin
- **New:** ability to link more than one number to the site has been supported with an unlimited number. Previously, you could add only two numbers
- **New:** ability to send a customized message according to the user is supported
- **New:** OTP activation feature is supported on the Checkout page when choosing a specific payment gateway or shipping gateway
- **New:** An option has been added to support any phone number field using the country code library built into Wawp
- **Enhancement:** notification history has been improved and more filters have been added to ensure greater effectiveness
- **Enhancement:** code optimization
    
= Version: 3.0.19 – Date: 15-12-2024 =

- **Enhancement:** Complete code optimization

= Version: 3.0.19 – Date: 15-12-2024 =
- **Enhancement:** Complete code optimization

(For older versions, please see the complete changelog on [Wawp.net](https://help.wawp.net/en/articles/news-and-updates-for-wawp-wordpress-plugin))