Skip to content

Integrations

The Integrations tab sends price alert events to another tool by webhook. Open DevDiggers Plugins → Price Drop → Configuration → Integrations.

The Integrations tab

  • Webhook URL: Where the events are posted. Leave it empty to turn webhooks off, which is the default.
  • Events: Which events are sent. Three are on by default.
  • Signing Secret: Optional. When set, each request carries an X-DDWCPDN-Signature header.
  • Sample Payload: What a request looks like, with the fields your tool can use.
Event Name in the payload Sent when Default
Customer set a price alert subscribed An alert switches on. With double opt-in, after the guest confirms On
Price drop email sent notified A price drop email goes out On
Customer bought after the email purchased The sale is counted on the order On
Customer cancelled a price alert unsubscribed The customer cancels, from any place Off

Each request also carries an X-DDWCPDN-Event header with the event name. Requests are sent in the background, so a slow endpoint never slows down your store. Alerts imported from a CSV file send nothing.

This is the purchased event the demo’s order sent, as received:

{
"event": "purchased",
"site": "https://demo.devdiggers.com/woocommerce-price-drop-notifier/",
"created_at": "2026-10-21T18:41:01+00:00",
"subscriber": {
"id": 7,
"email": "customer@email.com",
"user_id": 3,
"status": "purchased",
"alert_type": "target",
"price_at_signup": 279,
"target_price": 260,
"notified_price": 259,
"joined_at": "2022-09-12 15:41:18",
"coupon": "DROP-ITYJO6KU",
"order_id": 1243,
"revenue": 246.05
},
"product": {
"id": 40,
"parent_id": 17,
"name": "Wireless Noise-Cancelling Headphones - Blue, Travel",
"sku": "HP-ANC-BLU-CASE",
"price": 259,
"url": "https://demo.devdiggers.com/woocommerce-price-drop-notifier/product/hoodie/?attribute_pa_color=blue&attribute_edition=Travel"
},
"order": {
"id": 1243,
"number": "1243",
"total": 296.05
}
}

order is filled in only for purchased. Every event carries the alert’s status as it is after the event.

The signature is the HMAC-SHA256 of the request body, using your secret as the key. Compute the same on your side and compare. In PHP:

$expected = hash_hmac( 'sha256', file_get_contents( 'php://input' ), 'your-secret' );
$valid = hash_equals( $expected, $_SERVER['HTTP_X_DDWCPDN_SIGNATURE'] ?? '' );

See How to Send Price Alert Events to Zapier with Webhooks.

Click Save Changes at the bottom of the tab.