
Settings page under WooCommerce → Discord Notifications
This plugin sends a Discord notification for WooCommerce order events. It uses native WordPress/WooCommerce APIs and supports WooCommerce Custom Order Tables (HPOS). You can choose which order statuses trigger notifications, customize which details are included, set different webhook URLs and embed colors per status, and optionally remove product images from the embed.
Customizable message fields:
Initiating payment notification when a customer begins checkout (pending)
Webhook URL
Enter your Discord Webhook URL (from your Discord server settings).
Order Status Notifications
Choose which order statuses should trigger notifications. You can also:
Embed Fields
Select which fields should appear in the Discord embed (status, payment info, items, custom product fields, order date, billing info, new/returning customer, shipping method, transaction ID, order notes).
Embed field order
Drag rows to set the order fields appear in Discord. Disabled Embed Fields are still skipped when sending.
Customer notes only
When Order Notes is included, show only customer notes (exclude internal/admin notes).
Disable Product Image
Toggle this to prevent the product image from appearing in the embed.
Send notification for Initiating payments
When enabled, sends “Initiating payment” for pending orders, then “New Order!” when payment completes (processing).
To prevent duplicate Discord messages (for example, if the thank-you page is refreshed), the plugin stores sent-event metadata on each order (_discord_sent_*). Initiating, new, and update notifications all use 120-second time-based deduplication. Before sending, the plugin checks whether that event was already sent within the last 120 seconds and skips if so. This ensures each notification is only sent once per order event.
Found a bug or have a suggestion? Open an issue on the GitHub repo: https://github.com/Cral-Cactus/wc-sale-discord-notifications/issues