We have added support for triggering a web hook for subscription starts, terminations and renewals (including decline failures).
Web services provide user information including email, service ID, service name, rate ID, rate name, transaction amount and timestamp.
Suggested Testing
- Register a webhook against all of the services - start, renewal, and terminated - for the webhook callback you can use Webhook.site. This will dump the requests out to the browser
- Test starting a subscription in the admin and the frontend - it should fire a webhook for the start event
- Cause or wait for a renewal - this should trigger the renewal event
- Lastly, have an expiration set on a subscription and run the subscription-notices command on the date it should expire - this should trigger the termination webhook event