WC Sale Discord Notifications

Changelog

3.1.2

  • Subscription-aware embed titles when WooCommerce Subscriptions is active (New subscription, Subscription Renewal)
  • HTML entity decoding for price display so currency symbols render correctly in Discord (e.g. kr, €, £)
  • Filter wc_sale_discord_embed_title for customizing embed titles

3.1.1

  • Customer notes only toggle – exclude internal/admin notes when Order Notes is included
  • Automatic embed size trimming to fit Discord’s 6000 character limit
  • UTF-8 safe truncation for field values (mb_substr when available)
  • Webhook error logging via WooCommerce logger
  • Prefer WC_Order::get_customer_order_notes() when available (WC 9.2+)
  • Code quality: docblocks, type hints, removed redundant logic

3.1

  • Implemented notification for Initiating Payment (when order is placed with pending status, before payment completes)
  • Implemented embedded fields for Order Notes
  • When Initiating Payments is enabled: sends “Initiating payment” for pending orders, then “New Order!” when payment completes (processing)

3.0

  • Updated plugin logo.

2.3

  • Added support for custom product fields in Discord notifications.
  • New “Custom Fields” toggle in settings—when enabled, product-level custom fields (from add-ons/APF) are included in order item details.

2.2

  • Implemented per-status duplicate protection using order meta instead of a global flag.
  • Removed redundant duplicate-check logic and double log writes.
  • Added sanitization callbacks for all plugin options to improve data safety.
  • Made Discord webhook POST asynchronous (blocking => false) with basic error handling.
  • Improved status change hook to only trigger on selected statuses.
  • Enhanced embed field building with formatted totals, safe hex color handling, and image fallback.
  • Updated “Tested up to” and “WC tested up to” versions.

2.1

  • Admin setting to choose what fields to include in Discord messages.
  • Added protection against duplicate notifications using order meta.
  • Per-status webhook URL support.
  • Full compatibility with WooCommerce 8+ (custom order tables).

2.0

  • Added option to exclude product image from embeds.

1.9

  • Added notifications for changes in order status.

1.8 and below

  • Initial features and webhook sending.

Plugin Website
Visit website

Author
Marian Balev
Version:
3.1.2
Last Updated
March 19, 2026
Active Installs
100
Requires
WordPress 6.2
Tested Up To
WordPress 6.9.4
Requires PHP
8.0

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.