*** Order Notifications on WhatsApp for WooCommerce *** 2026-11-18 - version 2.2.0 * New: Header images (and videos/documents) are uploaded to WhatsApp once and reused for about 25 days, instead of WhatsApp downloading them from your site for every message. This prevents "Media upload error" when the site is slow; it falls back to the link if an upload fails. * New: "Send Test Template" on the settings screen sends a real approved template, filled in from an order, to any number — exactly what a customer would receive. * New: The reason a message failed (e.g. "131053 Media upload error") is shown in the Message Log, included in the CSV export, and shown when hovering a red badge on the Orders list. * New: Optional "Require phone number" setting makes the billing phone required at checkout (classic and block checkout). * New: Category column on the WhatsApp Templates list, and warnings when a notification uses a Marketing template (WhatsApp limits their delivery and doesn't deliver them to US numbers). * New: Warning when "New Order Notification" and an admin status notification are both on, which sends the admin more than one message per order. * Improvement: The Admin Mobile Number gets the store's country code when it's entered without one, and the settings screen warns when it's missing a country code or is the business's own WhatsApp number. * Improvement: An order with no phone number gets an order note explaining why no WhatsApp message was sent (previously a message was attempted to the country code alone). * Improvement: Template statuses are refreshed at most every 5 minutes on the templates screen, plus once a day in the background, instead of on every page load. * Fix: Delivery statuses (sent, delivered, read, failed) could be recorded on the wrong order on stores that don't use High-Performance Order Storage. * Fix: Hungarian templates were saved with the wrong language code. * Dev: Cleaned up Plugin Check and PHPStan findings; added composer.json. 2026-11-18 - version 2.1.1 * New: A message that fails with a temporary error (such as "Media upload error", when WhatsApp can't download the header image in time) is sent again automatically 5 minutes later. Each message is retried at most once, and the order note says when a resend is scheduled. The delay and error codes can be changed with the order_notifications_on_whatsapp_for_woocommerce_retry_delay and order_notifications_on_whatsapp_for_woocommerce_retry_error_codes filters. * Tweak: Tested with WooCommerce 11.3. 2026-11-11 - version 2.1.0 * New: "Header media" field for templates that have an image, video or document header in WhatsApp Manager. WhatsApp needs the file with every message; it was previously always the ordered product's image. * New: "Sync from Meta" on the WhatsApp Templates list brings in changes made in WhatsApp Manager (text or variables) and keeps the template's selections in Order Notification Triggers. * New: A warning on the dashboard, orders list and plugin screens when a notification is switched on but its template is missing, deleted or not approved. * Improvement: Templates imported from WhatsApp Manager are no longer re-submitted when saved in WordPress, which could replace an image header with text and rename their variables. * Improvement: Saving a template without changing its text no longer sends it to Meta for re-approval. * Improvement: Product images WhatsApp can't use as a header (e.g. WebP) are skipped, and the large image size is sent instead of the full-size original. * Fix: Fetch Templates ignored templates whose WordPress copy was in the Trash, and showed nothing when there was nothing new to import. * Fix: Fetch Templates only saw the first page of templates from WhatsApp Manager. 2026-10-26 - version 2.0.1 * Fix: Customer numbers in Puerto Rico and other +1 territories (Dominican Republic, Jamaica…) entered without "+1" were sent to an invalid number (e.g. 787-587-7762 became +17877875877762). * Fix: Templates created in Meta with named variables (e.g. {{raffle_tickets}}) can now be imported with Fetch Templates; the Map Variables popup shows Meta's variable names and messages are sent with them. * Fix: When Meta rejects a template, the reason is now shown on the template screen and as FAILED in the templates list, instead of the template only showing "Published". * Improvement: "Validate Connection" now checks that the phone number belongs to the WhatsApp Business Account ID, catching a Business portfolio ID entered by mistake. * Fix: Several admin strings used the wrong text domain and could not be translated. * Improvement: With logging enabled, the log now says when an order status change sends nothing because the admin/customer notification for that status is turned off or has no template. * Fix: PHP warning on the settings page of a fresh install before the settings were first saved. * Tweak: Tested with WordPress 7.1 and WooCommerce 11.2. 2026-07-01 - version 2.0.0 This is a major release that expands the plugin from order notifications into a complete WhatsApp engagement suite for WooCommerce. * New: Named-variable message templates using Meta's "Name" ({{variable}}) format, with ready-made starter templates you can apply in one click. Existing number-based templates continue to work unchanged. * New: Two-way messaging — a WhatsApp-style inbox with per-contact conversation threads, inline replies, inbound media (image, audio, video, document) and an optional auto-reply. * New: Delivery-status webhook — sent / delivered / read / failed updates are recorded on the order and shown in a filterable Message Log with CSV export. * New: Back-in-stock notifications, including variable products, with a "Notify Me" form and a Stock Subscribers admin screen. * New: Abandoned cart recovery with cross-device cart restore, optional single-use coupons, and an Abandoned Carts admin screen. * New: Unpaid order reminders and automated post-purchase review requests. * New: Message templates with an image, video or document header, and a WhatsApp delivery-status column on the Orders list. * New: Opt-in consent for the block-based checkout (Additional Checkout Fields API) alongside the classic checkout, with GDPR consent gating. * New: "Validate Connection" and "Send Test Message" tools, plus webhook diagnostics on the settings screen. * New: Template placeholders for products, carts, coupons and payment links ([product_name], [product_url], [product_price], [cart_total], [checkout_url], [coupon_code], [payment_url], [shop_url]). * Improvement: The WhatsApp Cloud API version is now filterable (updated to v21.0). * Security: Per-IP rate limiting on the public back-in-stock and abandoned-cart endpoints, and App Secret signature verification for webhook requests. * Fixed: Classic-checkout WhatsApp opt-in consent is now saved reliably, so opted-in customers receive their notifications. * Fixed: Duplicate delivery-status order notes caused by repeated Meta callbacks are no longer created. 2025-12-30 - version 1.0.2 * Performance: Implemented Action Scheduler for asynchronous background sending to prevent checkout page lag. * Fixed: Resolved a browser caching issue by fixing the plugin versioning logic. * Fixed: Manual message newlines were being stripped (switched to textarea sanitization). * Security: Enhanced security with strict sanitization and escaping for order notes and API data. * Improvement: Added full compatibility for WooCommerce High-Performance Order Storage (HPOS). * Improvement: Added new template placeholders: [order_number], [customer_note], and [order_view_url]. * Improvement: Improved address formatting in WhatsApp messages to use line breaks. * Improvement: Replaced intrusive admin alerts with inline success/error notifications. * Dev: Centralized Graph API version control for easier future updates. 2025-01-21 - version 1.0.1 * Fixed Invalid parameter issue * Fixed Template formatting issue 2024-07-01 - version 1.0.0 * Initial Release