Linux 软件免费装
Banner图

Notifications on Discord for WooCommerce

开发者 jarryd-long
更新时间 2026年4月23日 04:32
PHP版本: 7.1 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce ecommerce notifications orders discord

下载

1.0.0 2.0.1 1.0.1 2.0.0

详情介绍:

Keep your team in the loop without leaving Discord. Notifications on Discord for WooCommerce delivers rich, color-coded notifications to any Discord channel whenever something happens in your store. Whether you want to celebrate a new sale, catch a failed payment, or get pinged when stock runs low - this plugin has you covered. What you get Order Notifications Get notified for every WooCommerce order status: Pending, Processing, On Hold, Completed, Cancelled, Refunded, and Failed. Each notification includes a color-coded embed along with the customer name, email, country flag, order value, and a list of products ordered. WooCommerce Subscriptions Support If you run a subscription store with WooCommerce Subscriptions, you can receive notifications for subscription status changes including Active, On Hold, Cancelled, Expired, Pending Cancellation, Renewal Payment Complete, and Renewal Payment Failed. New Customer Alerts Fire a dedicated notification the first time a customer places an order - whether they checked out as a guest or registered an account. Great for tracking growth at a glance. Low Stock Alerts Receive a Discord notification as soon as a product hits its WooCommerce low stock threshold, so your team can restock before it becomes a problem. Per-Status @Mentions Specify @here, @everyone, or a Discord role ID for any individual status. Set a role ping on failed payments so your team gets alerted immediately, without pinging everyone for every order. Custom Embed Colors Every notification status has its own color picker in the settings. Each one comes pre-set to a sensible default (green for completed, amber for pending, red for failed, and so on), but you can change any of them to match your brand or make certain alerts stand out at a glance in Discord. Minimum Order Value Filter Reduce noise by only sending notifications for orders above a threshold you set. Useful if you run frequent low-value transactions and only want to be notified for meaningful orders. Test Button Per Webhook Every webhook row has a built-in Test button. Click it to send a live test embed to Discord so you can confirm everything is wired up correctly before going live. Notification Log An optional log records every notification sent - including the order or subscription number, status, products, order value, and the HTTP response code returned by Discord. Logs auto-purge after a configurable number of days (default: 7). Developer Filters Use a different channel per status Each status has its own webhook field, so you can route notifications to different Discord channels. Send all sales to #orders, failed payments to #alerts, and low stock to #inventory.

安装:

Step 1: Install and Activate
  1. Go to Plugins > Add New and search for "Notifications on Discord for WooCommerce".
  2. Click Install Now, then Activate.
  3. Alternatively, download the zip from WordPress.org, go to Plugins > Add New > Upload Plugin, and upload the file.
Step 2: Create a Discord Webhook
  1. Open Discord and go to the channel you want to receive notifications in.
  2. Click the gear icon next to the channel name to open Edit Channel.
  3. Go to Integrations > Webhooks > New Webhook.
  4. Give the webhook a name, optionally set an avatar, then click Copy Webhook URL.
Need more help? See the official guide: Intro to Webhooks Step 3: Configure the Plugin
  1. In your WordPress dashboard, go to WooCommerce > Discord Notifications.
  2. On the Notifications tab, find the order status you want to be notified for.
  3. Check the Enable box, paste your webhook URL, and optionally enter a mention.
  4. Click Test to send a test notification to Discord and confirm it works.
  5. Click Save Settings.
Optional: Enable Logging
  1. Go to the Logs tab.
  2. Enable logging and set your preferred auto-purge retention period.
  3. All sent notifications will appear in the log table with response codes so you can confirm delivery.

屏幕截图:

  • Logs tab - filterable notification history with response codes
  • Example of a rich Discord embed notification in a Discord channel

升级注意事项:

2.0.0 Major update. Adds WooCommerce Subscriptions support, notification logging, low stock alerts, new customer notifications, @mention support, status embed colors, customer details, a test button per webhook, and a redesigned settings page. Fully backwards compatible - no action required on upgrade.

常见问题:

I'm not receiving any notifications in Discord

Discord webhooks only accept requests from publicly accessible URLs. If your site is running locally (e.g. on localhost or a private staging environment), Discord cannot reach it and notifications will silently fail. Deploy to a live, publicly accessible server and test again.

How do I send notifications to different Discord channels per order status?

Each status row has its own Webhook URL field. Simply paste a different webhook URL for each status to route them to separate channels.

Can I use one webhook for all statuses?

Yes. Paste the same webhook URL into every status row you want to enable. All notifications will go to the same channel.

How do I ping my team for failed payments?

In the Mention column next to the Failed status, enter @here, @everyone, or a Discord role ID in the format <@&123456789012345678>. That mention will be included in the notification message so the right people get alerted immediately.

Where do I find a Discord role ID?

Enable Developer Mode in Discord (User Settings > Advanced > Developer Mode), then right-click any role in Server Settings > Roles and click Copy Role ID.

What is the minimum order value filter?

Found at the top of the Notifications tab, this setting lets you suppress notifications for orders below a dollar threshold you set. Set it to 0 to notify for all orders regardless of value.

Does this work with WooCommerce Subscriptions?

Yes. If WooCommerce Subscriptions is installed and active, a Subscription Notifications section will automatically appear in the settings with all supported subscription statuses.

Does this work with WooCommerce High-Performance Order Storage (HPOS)?

Yes. The plugin is fully compatible with WooCommerce HPOS (custom order tables) and has declared compatibility accordingly.

How does the new customer notification work?

A notification fires on a customer's very first order. For registered customers, it checks their total order count. For guests, it checks whether any previous order exists with the same billing email address. If it's their first, the notification fires.

The Test button says it worked but I don't see anything in Discord

Double-check the webhook URL - even a single extra character will cause it to silently fail. Also make sure the webhook hasn't been deleted in Discord. You can verify by opening the channel's Integrations settings and confirming the webhook still exists.

Can I customise what data is sent to Discord?

Yes. Use the ppsndw_woo_discord_payload filter to modify or replace the payload array before it is sent. For low stock notifications, use ppsndw_woo_discord_low_stock_payload. Both filters receive the full payload array and the relevant object (order, subscription, or product).

How do I turn off logging?

Go to WooCommerce > Discord Notifications > Logs tab and uncheck Enable Logging, then save. Existing log entries are kept but no new ones will be written. You can purge all existing entries using the Purge All Logs button.

Will my data be deleted if I uninstall the plugin?

Not by default. To remove all plugin settings, the log table, and scheduled events on deletion, go to the Logs tab and enable Delete Data on Uninstall before deleting the plugin.

My site is not in English - will the notifications work?

Yes. The plugin is translation-ready and loads its own text domain. All static text can be translated using standard WordPress translation tools. Customer names, product names, and order data are passed through as-is from WooCommerce.

更新日志:

2.0.1 2.0.0 1.0.1 1.0.0