Event Types
Event Types
Event Types Overview
Last Updated: March 23, 2026What This Extension Adds Core DDLS fires internal WordPress action hooks when licenses, subscriptions, and payments change state. These are not delivered to external systems. > With DMSI Webhooks, you can subscribe external endpoints to receive JSON payloads whenever any of these 9 built-in events (or custom-registered events) occur. Event Categories Events are grouped by...
License Events
Last Updated: March 23, 2026License events fire in response to changes in the DDLS license lifecycle. Events license.created Fired when: A new license is generated in DDLS. DDLS Hook: dmsi_license_created Typical payload data fields: Field Type Description license_key string The license key value product_id integer Associated product ID product_name string Product name customer object Customer info: {id, email, name}...
Subscription Events
Last Updated: March 23, 2026Subscription events require DMSI Subscriptions Pro to be installed and active. If Subscriptions Pro is not detected at plugin initialization, subscription event hooks are not registered and these events will not fire. Subscriptions Pro Detection The plugin checks function_exists('dmsi_subscriptions_pro') at init time. The check is performed on every request — it is not cached. Events...
Payment Events
Last Updated: March 23, 2026Payment events fire in response to payment processing outcomes in DDLS. Events payment.received Fired when: A payment is successfully processed. DDLS Hook: dmsi_payment_received Typical payload data fields: Field Type Description order_id integer Associated order ID customer object Customer info: {id, email} license_key string Associated license key amount string Payment amount (formatted as decimal string) currency...
Registering Custom Events
Last Updated: March 23, 2026You can add custom event types to DMSI Webhooks using the dmsi_register_webhook_event WordPress filter. Custom events appear in the admin Events list, are available for endpoint subscriptions, and can be triggered manually using dmsi_trigger_webhook(). Registration Add a filter in your plugin or theme’s functions.php: add_filter('dmsi_register_webhook_event', function(array $events): array { $events[] = [ 'name' => 'order.shipped',...
