WP Manifestindependent plugin directory
manifest / ecommerce / order-notify-for-woocommerce

Order Notify for WooCommerce

Send automatic WhatsApp notifications to WooCommerce customers on order status changes via the Meta WhatsApp Business Cloud API.

by Hookstack · github.com/rishadalam/order-notify-for-woocommerce · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/rishadalam/order-notify-for-woocommerce/archive/refs/heads/main.zip

Readme

Order Notify for WooCommerce

Send automatic WhatsApp notifications to WooCommerce customers on order status changes via the Meta WhatsApp Business Cloud API.

A WooCommerce plugin built on a Laravel-style, container-driven OOP framework. Order events dispatch WhatsApp messages through Meta's free Cloud API; the admin UI is a React + TypeScript single-page app served under the WooCommerce menu.

Requirements

  • WordPress >= 6.6
  • WooCommerce >= 7.0 (HPOS compatible)
  • PHP >= 7.4
  • A Meta WhatsApp Business Cloud API app (Phone Number ID + Access Token)

Architecture

Layer Location
Bootstrap + DI container order-notify-for-woocommerce.php, src/Core/
Service providers src/Providers/, registered in config/app.php
Models + query builder src/Models/ (custom table {prefix}order_notify_for_woocommerce_logs)
Migrations src/Database/Migrations/ (run on activation)
REST controllers / requests / routes src/Http/, routes/api.php (namespace order-notify-for-woocommerce/v1)
WhatsApp API + templating services src/Services/
Admin SPA (React + TanStack Query + Tailwind) resources/js/admin/

Every state-changing REST route requires a nonce and a capability (can:manage_woocommerce); the routing pipeline is default-deny. All SQL goes through the prepared-statement query builder.

Development

composer install      # PHP deps + autoloader
pnpm install          # JS deps (Node >= 20)
pnpm dev              # Vite dev server (HMR)
pnpm build            # build admin bundle -> public/build

Quality gates

composer qa           # php-cs-fixer, phpcs (WordPress-Extra + Docs), phpstan L8, PHP 7.4 compat, rector, phpunit
pnpm qa               # tsc --noEmit, prettier, eslint (--max-warnings=0), stylelint
pnpm qa:all           # both of the above

Build a distributable ZIP

bash scripts/build-zip.sh   # -> dist/order-notify-for-woocommerce.zip (prod deps, built assets, dev files excluded)

License

GPL-2.0-or-later.

Read the full README on GitHub →