=== Automation Web Platform – Notifications, OTP, and Advanced Phone Field ===

Contributors: 101Gen, wawp, ahmedsafaa
Tags: automation, whatsapp, abandoned carts, wawp, woocommerce
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 5.6.3
License: GPLv3 or later
License URI: https://opensource.org/licenses/GPL-3.0

Automation Web Platform (Wawp) - Automate notifications, secure your store with OTP, and optimize checkout with an advanced phone field.
 
== Description ==

Tired of manually sending WhatsApp order updates and payment follow-ups?   
Let **Wawp** handle it all—right from your WhatsApp!

and more—all in one powerful plugin.

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

This plugin relies on the Wawp.net SaaS service. You can find our Terms of Service at https://wawp.net/terms-of-services/ and Privacy Policy at https://wawp.net/privacy-policy/.


== 🤖 Automated Notifications ==

✅ **New Order Notification** – Send WhatsApp message to customers with order details after checkout.  
✅ **Order Status Updates** – Notify customers automatically about changes to their order status.  
✅ **Admin/Staff Alerts** – Receive real-time WhatsApp alerts for new orders and status changes.  
✅ **After Purchase Upsell** – Schedule follow-up messages to re-engage customers and boost sales.  
✅ **Pending Payments** – Send gentle reminders for pending payments, to get paid faster.  
✅ **Product Reviews** – Collect product reviews on auto-pilot with customized WhatsApp messages.

**Notification types:**

Pending payment: Notify customers about unpaid orders.
On hold: Inform about orders waiting for payment confirmation.
Processing: Let customers know their order is being prepared.
Completed: Confirm successful order delivery.
Failed: Notify customers of failed transactions.
Draft: Keep track of unfinished orders.
Canceled: Alert customers when an order is canceled.
Refunded: Inform about successful refunds.
Customer Note: Send custom updates directly to customers.
Custom Status: Set up notifications for any custom status.

== 🔐 User Authentication ==

✅ **Blacklist Numbers** — Block Fake and Spam users to prevent abuse and secure your site.  
✅ **Fully customizable** — Colors, logo, and text – control your login looks, without technical effort.  
✅ **Multiple login options** — Enable login via WhatsApp, Email OTP, or Email & Password.  
✅ **Signup Verification** — Verify new accounts via WhatsApp or Email OTP.
✅ **Role-Based Redirects** — Redirect users to specific pages based on their roles after login.
✅ **Welcome message** — Send personalized welcome messages to introduce your brand to new customers.
✅ **User Login Alerts** — Get instant notifications for user logins and signups to ensure security.
✅ **Google ReCAPTCHA** — Secure Login, Registration, and Lost Password forms with ReCAPTCHA v2/v3.
✅ **Chic Settings UI** — New premium design for Authentication Settings with dynamic status updates.
✅ **Smart Guidance** — Descriptive status bars (Green Bar) to guide you through redirection impacts.
✅ **One-Click View** — Easily view your active Login/Signup pages directly from settings.

= Shortcodes for Easy Integration: =

- Login Form: `[wawp_otp_login]`  
- Signup Form: `[wawp_signup_form]`  
- Both Forms: `[wawp-fast-login]`  

= 100% Compatible with:

✅ Bricks Builder
✅ Elementor
✅ Gutenberg
✅ Native WordPress Forms
✅ Native WooCommerce Forms

== 🛒 WooCommerce Order Verification == 

Prevent fake orders with WhatsApp OTP verification before checkout.

1. Enable OTP for **visitors, members, or everyone**.
1. Enable OTP based on **payment method** (e.g., Cash on Delivery, PayPal, Stripe).
1. Enable OTP based on **shipping method** (e.g., Standard, Express).

== 💬 WhatsApp Chat Widget ==  

✅ **Multi-agent Support** — Easily assign different contacts for support, sales, or inquiries.  
✅ **Display Condition** — Set when the chat button appears based on device or pages.  
✅ **Fully customize** — button design (colors, text, icons, positioning).  
✅ **Integrate social media links** — directly into the button.  
✅ **Auto-generate QR codes** — for instant messaging.  
✅ **Track button clicks** — to analyze customer interactions.

== 🌍 Country Code == 

✅ **Number Validation** — Verify phone numbers in real time to reduce errors and boost data quality.  
✅ **Auto-detect Country** — Automatically detect country code by visitor location or preset default.  
✅ **Country Filtering** — Display only the countries that your audience and customers are from.  
✅ **100% Compatible** — Country code compatible with all themes, page builders & plugins.  
✅ **Country Selection** — Allow users to choose their country code when entering their phone number.   
✅ **Country Filtering** — Restrict or display specific countries in the dropdown.   
✅ **Auto-Formatting** — Format phone numbers dynamically as users type for maximum accuracy.  
== 📊 Diagnostics & Privacy ==

This plugin includes an optional feature to share non-sensitive diagnostic data to help improve plugin performance and troubleshoot issues. This data is only shared if explicitly permitted by the site administrator via the Connector settings.

== 📜 Messages History ==

✅ **Track all messages** – Show all details (order number, user details, phone numbers, etc.).
✅ **Advanced Filters** – Use live search & advanced filters find specific messages.
✅ **Identify Failed Messages** – Troubleshoot and fix delivery issues.
✅ **Resend Messages** – Retry failed messages with a single click.

== 🎨 Personalization ==

✅ **Dynamic Content** — Use Variables to insert customer names, order details, and more. 
✅ **Full emoji support** — Add personality and fun to your communication.
✅ **Rich Messages** — Attach multi-media to capture customers attention.
✅ **Direct Messages** — Send message to any WhatsApp number directly from your dashboard.

== 👤 Customer Management ==

✅ Verify whether a member’s number is **active on WhatsApp**.  
✅ View **all phone numbers linked** to a member’s account for login and orders.  

**Note:** You can assign unique WhatsApp numbers for every task like order updates, admin alerts, and login verification.

== 📃 How to Start ==

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

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

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

👉 [**Try Wawp for FREE (250 Messages/Month)**](https://wawp.net/signup/)  
📌 [**Facebook Community.**](https://www.facebook.com/groups/wawpcommunity) – Join other users for support, advice, and tips.    
📚 [**Getting started.**](https://help.wawp.net/en_US/how-to-install-activate-wawp-on-wordpress/) – Access step-by-step guides, FAQs, and tutorials.  
⭐ [**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/) – Your feedback helps us grow and improve! 
📽 [**Video Tutorials**](https://www.youtube.com/@wawpapp)
== 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.
1. Activate the plugin through the **‘Plugins’** menu in WordPress.
1. Create new account on [**Wawp.net**](https://wawp.net/signup)
1. Connect your whatsapp with qr code in [**Wawp dashboard**](https://wawp.net/account/connect)
1. Add instances in Wawp plugin in the `wp-admin/admin.php?page=wawp&wawp_section=instances`
1. Now you can automate your conversations, and unlock WhatsApp superpowers.

For documentation and tutorials visit our [**Knowledge Base.**](https://wawp.net/get-started/welcome-to-wawp/)

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

== 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 200 free messages each month. You can upgrade to the [Pro plan](https://wawp.net//) to send 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



== Changelog ==

= 5.6.3 - 2026-06-15 =
* Added: Automatic full-cache purge after saving settings — supports LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Super Cache, WP Fastest Cache, SG Optimizer, Breeze, Hummingbird, NitroPack, FlyingPress, and Cache Enabler.
* Fixed: Campaign creation form now always starts with default values instead of pre-filling with the last edited campaign's data.

= 5.6.2 - 2026-06-14 =
* Fixed: WhatsApp Checkout OTP and Interactive List (Auth List) verification - now properly verifies via Wawp API without relying on transient data.
* Fixed: Activity Hub logs rendering legacy "sent" and "OK" logs as failure. Updated future entries to use "success".
* Fixed: Campaign duplication by implementing submission locks and button disabled states in the React CampaignWizard component.
* Fixed: Campaign queue processing stagnation for bulk campaigns with interval > 10s by implementing automatic cron self-rescheduling.
* Added: Bulk campaign delete button in the Campaigns Workspace toolbar to delete one or more selected campaigns.

= 5.6.1 - 2026-06-11 =
* Fixed: Firebase "No Firebase App 'wawp_firebase_app' has been created" initialization error on OTP login and fast login pages.
* Fixed: Compatibility crash with Post SMTP during email logging and intercepting.
* Fixed: Expiration error during Auto Setup by implementing CSRF confirmation fallback if nonce is missing.
* Normalized: Phone field storage to digits-only format, and added clean database deletion support when phone fields are cleared.
* Resolved: User profile race conditions between Wawp phone field and WooCommerce billing phone.
* Enhanced: Fast-login user query backward compatibility to match both digits-only and legacy plus-prefixed database numbers.
* Optimized: Campaigns and Abandoned Carts performance and database queries for sites with large datasets.
* Fixed: SPA dynamic chunk loading failure (Failed to fetch dynamically imported module) by registering global error recovery triggers.

= 5.6.0 - 2026-06-08 =
* Added: Force Initial Order Status feature — override WooCommerce order status after checkout at priority 9999, overriding payment gateways and other plugins.
* Added: Live preview in settings showing the current WooCommerce default order status before forcing.
* Fixed: WhatsApp instance assignment for Login feature — synced wawp_auth_wa_instance wp_options with otp_login_settings DB table to prevent stale value overwrite.
* Fixed: Admin notification instance fallback — removed incorrect fallback to user instance IDs; now correctly falls back to first online instance.

= 5.5.5 - 2026-06-07 =
* Centralized and unified user phone number retrieval to database custom table with multi-location synchronization on save.

= 5.5.4 - 2026-06-06 =
* Fixed registration issues and resolved the inability to delete phone number from user account.

= 5.5.3 =
(Please see the complete changelog on https://help.wawp.net/en/articles/news-and-updates-for-wawp-wordpress-plugin)