Linux 软件免费装
Banner图

CodeAtoZ – Cloud Messaging for WooCommerce

开发者 codeatoz
更新时间 2026年10月15日 20:49
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce whatsapp messaging order notifications cloud api

下载

1.5.2 1.4.7 1.4.6 1.5.0 1.5.1

详情介绍:

CodeAtoZ – Cloud Messaging for WooCommerce connects your WooCommerce store directly to Meta's WhatsApp Business Cloud API. Send order confirmations, processing updates, shipping notifications, and delivery alerts to your customers on the world's most popular messaging app — without paying any third-party BSP middleman. You pay Meta's per-message pricing directly. No markup, no monthly platform fees, no vendor lock-in. Meta gives every business phone number 1,000 free service messages per month, and order notifications are billed at Meta's cheaper Utility rate with volume discounts. ✨ What's new in 1.5.1 ✨ What's new in 1.5.0 Four new free features, six bug fixes, and WordPress 7.1 / WooCommerce 11.2 compatibility. Everything below is in the free version — nothing moved behind the Pro plugin. Why use WhatsApp for order notifications? Features (Free version) Order Status Notifications Send a WhatsApp message automatically on every WooCommerce order status change: Each event has its own message template with full variable substitution — order number, customer name, total amount, shipping address, tracking URL, and more. ✨ New in 1.5.0 — Template picker & variable mapper ✨ New in 1.5.0 — Usage & Costs Meta moved from per-conversation to per-message billing, and since 1 October 2026 also bills service messages and utility templates sent inside the 24-hour service window. A new Settings → Usage & Costs screen shows: It deliberately shows message counts rather than a currency estimate — Meta's rates vary by recipient country and volume tier, and a wrong number would be worse than no number. GDPR-Compliant Opt-In ✨ New in 1.5.0 — Customer preference centre STOP-Keyword Auto-Unsubscribe Staff Notifications (Single Phone) Click-to-Chat & Share Buttons ✨ New in 1.5.1 — Site Health & diagnostics ✨ New in 1.5.1 — Re-send from the message log Built-in Message Log In-Plugin Setup Guide Technical Excellence Who is this for? Pro version A Pro add-on plugin is available on codeatoz.com that unlocks advanced commerce automation modules: The Pro version is a separate, standalone plugin — not a paid feature unlock of this free plugin. If you only ever use the free version, every free feature listed above will keep working forever with no nag screens or time limits.

安装:

Quick setup
  1. Upload the plugin ZIP via Plugins → Add New → Upload Plugin, or unzip it into wp-content/plugins/
  2. Activate the plugin from the Plugins screen
  3. Go to WhatsApp Commerce → Setup Guide for a step-by-step walkthrough of Meta's API setup
  4. Or jump straight to WhatsApp Commerce → Settings → Connection if you already have your Meta credentials
Detailed setup You'll need a Meta Business account, a Meta Developer App with WhatsApp product enabled, and a phone number not currently registered to WhatsApp Personal or Business. The built-in Setup Guide walks you through:
  1. Creating a Meta Business account
  2. Creating a WhatsApp Business App in Meta Developers
  3. Copying credentials (Access Token, Phone Number ID, WhatsApp Business Account ID) into the plugin
  4. Configuring the webhook (Callback URL + Verify Token) so the plugin receives delivery + read receipts
  5. Approving your message templates with Meta (utility templates auto-approve in minutes)
  6. Generating a permanent System User token for production use
Setup typically takes 15–30 minutes. Once connected, send a test message from the Connection tab to confirm everything works, then start enabling order status notifications. Requirements

屏幕截图:

  • **Connection settings** — Enter your Meta Phone Number ID, WhatsApp Business Account ID, permanent System User Token, and App Secret. The Webhook URL and Verify Token are auto-generated and copy-to-clipboard ready. A live "Test Connection" button confirms your setup works before going live.
  • **Message templates** — Browse all your Meta-approved WhatsApp templates fetched live from your account. Utility and Marketing categories shown with status indicators. Use "Refresh from Meta" to sync after creating new templates in the Meta Business portal.
  • **Message log** — Full delivery history for every outgoing and incoming message. Shows queue status (Action Scheduler), connection status, pending count, and per-message details including template name, recipient phone, direction, and delivery status.

升级注意事项:

1.5.2 Fixes an empty Verify Token on the Connection tab, which blocked Meta webhook setup. Affected sites get a new token automatically. No other changes, so it's safe to update. 1.5.1 Adds the Click-to-Chat button that has been advertised since 1.0 but was never implemented, Site Health checks, and a Re-send action on the message log. Fixes retired per-conversation pricing text still shown inside the plugin, and an uninstall routine that left customer phone numbers behind on High-Performance Order Storage stores. The Setup Guide now documents the features added in 1.5.0. No database changes — safe to update. 1.5.0 Recommended for all users. Fixes a bug where "Order Confirmed" notifications could never fire, two public REST endpoints that returned a PHP fatal error on every call, and a non-functional "Notify Me" button on out-of-stock product pages. Upgrades the Meta Graph API from v21.0 (which expires 21 January 2027) to v25.0. Adds a template variable mapper that eliminates Meta error #132000, a Usage & Costs screen for Meta's per-message billing, and a customer WhatsApp preference centre under My Account. Your settings, subscribers and message log are preserved; the "Order Confirmed" setting is migrated automatically. 1.4.7 WordPress 7.0 compatibility release. Verified against WP 7.0 and WooCommerce 10.7. No breaking changes — existing settings, subscribers, message log and message queue continue to work on WP 6.2+ unchanged. 1.3.1 Minor UI refinements and readme expansion for WordPress.org submission. Existing settings and message logs are preserved on update. 1.3.0 WordPress.org compliance pass. Recommended for all users. No database changes — safe to update.

常见问题:

How much does WhatsApp Cloud API cost?

Meta bills per message (it moved away from the old per-conversation model on 1 July 2025). Rates depend on the message category and the recipient's country:

  • Utility — order confirmations, shipping updates, delivery notices. The cheapest paid category, with volume discounts. This is what the plugin's order notifications use.
  • Authentication — one-time codes. Also discounted by volume.
  • Marketing — promotional messages. The most expensive category. The free version does not send these.
  • Service — your replies inside the 24-hour customer service window. The first 1,000 service messages per business phone number each calendar month are free, then they are billed per message.
Note that since 1 October 2026, service messages and utility templates sent inside the 24-hour service window are chargeable; previously they were free. The 72-hour Free Entry Point window remains free. You pay Meta directly and this plugin charges zero markup. Use Settings → Usage & Costs (new in 1.5.0) to see your own monthly volume by category. For most small stores the bill is a fraction of equivalent SMS costs. Exact per-country rates are published by Meta and change periodically, so we deliberately do not reproduce them here.

Can I use my existing WhatsApp number?

Only if you first delete WhatsApp Personal or WhatsApp Business from the device. A phone number can only be registered to ONE of: WhatsApp Personal, WhatsApp Business app, or WhatsApp Cloud API. This plugin uses Cloud API, so you'll need to migrate the number off WhatsApp Personal/Business first. If you want to keep your personal WhatsApp running, get a separate business number (a VOIP number, a second SIM, or a landline that can receive SMS or voice for verification will work).

Why are my messages getting "rate limited"?

Brand-new WhatsApp Business numbers start on Meta's lowest messaging tier — typically 250 unique customers per 24 hours. As long as your quality rating stays "High" in Meta's assessment, Meta automatically promotes you through progressively higher tiers (1,000, then 10,000, then 100,000, then unlimited). The progression usually takes 2–4 weeks of healthy sending. Send transactional (Utility) templates first — they build trust fastest with Meta's quality system, because customers expect them and rarely block or report them. Meta adjusts these tier thresholds from time to time; your current limit and quality rating are shown in the Meta Business Manager for your phone number.

My template was rejected by Meta. What now?

The most common rejection reasons:

  • The template feels promotional but was submitted as "Utility" — change the category to "Marketing" OR rewrite the wording to be transactional
  • The template contains unverified claims ("100% guaranteed!", "Best price!")
  • The template has placeholders at the start or end ({{1}} as the first or last token is not allowed)
  • Header or footer text exceeds character limits
Edit the template wording and resubmit. After two rejections of the same template name, use a new name (e.g., order_shipped_v2).

How do I use the template variable mapper?

Go to Settings → Notifications. For each order event, pick the Meta-approved template you want from the dropdown, then click "Map template variables". The plugin reads that template's structure from Meta and shows one dropdown per {{1}}, {{2}} placeholder — choose which order value belongs in each, and check the live preview underneath. You only need to do this once per template. Templates you leave unmapped keep behaving exactly as they did before 1.5.0, where the plugin guessed the variable order from a fixed priority list. If the dropdown is empty, connect your Meta credentials first, then use Refresh from Meta on the Templates screen.

Customer isn't receiving any messages — how do I debug?

Visit WhatsApp Commerce → Message Log and find the most recent message to that customer. The status column tells you exactly what happened:

  • Failed — click the row to see Meta's error code. Common ones: #131026 (number not on WhatsApp), #132000 (template parameter mismatch), #132001 (template language mismatch).
  • Sent but not Delivered — customer has likely blocked your number, or their phone has been offline for 30+ days.
  • Queued — Action Scheduler hasn't picked up the message yet. Check your WP-Cron or visit Tools → Scheduled Actions.
  • Customer is opted out — check Subscribers tab. They may have replied STOP previously.

Does the plugin work with WooCommerce Blocks Checkout?

Yes. The opt-in checkbox renders on both classic checkout and the new Blocks Checkout. We update it as WooCommerce updates the Blocks API.

Does the plugin work with HPOS (High-Performance Order Storage)?

Yes. HPOS compatibility is declared in the plugin header and tested against the latest WooCommerce versions.

Is the plugin translation-ready?

Yes. The .pot file is included in /languages/, plus sample .po files for German, French, Spanish, Italian, Dutch, Portuguese, Polish, Swedish, and Danish. Translations are loaded on the init hook with priority 5 so other modules can use translated strings safely.

How is my Meta access token stored?

The access token is encrypted using OpenSSL AES-256-CBC before being written to the wp_options table. The encryption key is derived from your WordPress AUTH_KEY constant. The token is decrypted only at the moment of an outbound API request to Meta. If you back up your database and accidentally expose it, the token cannot be used without your WordPress secret keys.

Can I send broadcast / marketing messages?

The free version focuses on transactional notifications (order updates, opt-in confirmations, click-to-chat). For bulk marketing campaigns, segmented broadcasts, or abandoned cart recovery, the Pro version on codeatoz.com adds those features. The free version does not include broadcast functionality.

Where can I get more help?

  • Documentation — built into the plugin. Go to WhatsApp Commerce → Setup Guide for the full 6-step Meta walkthrough, click-to-copy webhook details, and a troubleshooting FAQ. Every settings tab also has inline help text.
  • Free version users — community support via the WordPress.org plugin support forum
  • Pro version customers — priority email support at support@codeatoz.com

更新日志:

1.5.2 1.5.1 New features (all free) Documentation Bug fixes 1.5.0 New features (all free) Bug fixes Compatibility Documentation 1.4.7 1.3.1 1.3.0 1.2.1 1.2.0 1.1.1 1.1.0 1.0.0