Setting Up Webhook Endpoints to Be Notified of Specific Subscription


Subscribe Pro offers a feature called Webhook Endpoints that enables to you to provide Endpoint URLs that can be notified of the following, specific subscription customer activities. This feature is useful if you want to be notified of specific subscription customer activity at a particular URL.

  • Customer subscribed
  • Customer cancelled
  • Payment profile created
  • Payment profile updated
  • Payment profile redacted
  • Subscription created
  • Subscription updated
  • Subscription status change
  • Subscription cancelled
  • Subscription trial converted
  • Subscription email

As an example, below are the steps to follow for creating a webhook endpoint to be notified of subscription cancellations, using RequestBin for demonstration purposes to obtain a test URL that will collect requests made to it.

  1. Go to RequestBin and select the button "Create a RequestBin"

    Create a RequestBin

  2. Copy the URLs in the URL Address Bar and the "Bin URL" field for later use when creating the Subscribe Pro Webhook Endpoint

    Keep Track of Request Bin Details

  3. Access the Subscribe Pro Webhook Endpoints feature via the "System" section > "Webhook Endpoints".

    Access Webhook Endpoints

  4. Create a new Webhook Endpoint by selecting the "+New" button

    Click to Create a New Webhook Endpoint

  5. Paste the RequestBin URL that you copied from Step #2 in the "Endpoint URL" field

    Configure Webhook Endpoint

  6. Un-check the boxes for "Subscribe to All Event Types" and all of the other event types with the exception of the "subscription.cancelled" event type, followed by selecting the "Save" button

    Choose Events

  7. You'll receive confirmation that a new endpoint was created and will now need to enable it by selecting the "Enable" button.

    Enable the Webhook

  8. You'll receive confirmation that the endpoint was enabled and can test the connection to your new endpoint by selecting the "Test Connection - Ping Endpoint" button.

    Ping the Webhook Endpoint

  9. Now that the new endpoint is active, you can test it by changing a Subscribe Pro subscription with an "Active" status to a "Cancelled" status and then going to back to the RequestBin page that provided you with the "Bin URL" from Step #2 and refreshing it. You'll see the "subscription.cancelled" event type that was generated, along with the customer details associated with that particular subscription.

    Trigger Webhook Event