Linux 软件免费装
Banner图

CodeAtoZ – Cloud Messaging for WooCommerce

开发者 codeatoz
更新时间 2026年5月23日 15:38
PHP版本: 8.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce whatsapp messaging order notifications cloud api

下载

1.4.7 1.4.6

详情介绍:

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-conversation pricing directly. No markup, no monthly platform fees, no vendor lock-in. Meta gives every business 1,000 free service conversations per month, which covers most small stores entirely. 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. GDPR-Compliant Opt-In STOP-Keyword Auto-Unsubscribe Staff Notifications (Single Phone) Click-to-Chat & Share Buttons 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.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 gives every business 1,000 free service conversations per month per WhatsApp Business number. Beyond that, conversations are priced per-country — typically $0.005 to $0.10 per conversation (a single conversation = 24 hours of back-and-forth messaging with one customer). You pay Meta directly. This plugin charges zero markup on message costs. For a small WooCommerce store doing 200 orders/month, you'll likely stay entirely within the free tier. For a larger store, your monthly Cloud API bill is usually a fraction of equivalent SMS costs.

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 at Tier 1: 250 unique customer conversations per 24 hours. As long as your message quality stays "High" in Meta's quality assessment, Meta will auto-promote you to:

  • Tier 2: 1,000 conversations/24h
  • Tier 3: 10,000 conversations/24h
  • Tier 4: 100,000 conversations/24h
  • Unlimited
The progression typically takes 2–4 weeks. Send transactional (Utility) templates first — they build trust fastest with Meta's quality system.

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).

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?

  • Free version users — community support via the WordPress.org plugin support forum
  • Pro version customers — priority email support at support@codeatoz.com
  • Documentation — visit codeatoz.com for in-depth setup guides and video walkthroughs

更新日志:

1.4.7 1.3.1 1.3.0 1.2.1 1.2.0 1.1.1 1.1.0 1.0.0