Zephr User Guide

Configure a Webhook in Chargify

0 views 0

To allow Chargify to notify Zephr when subscription payment methods are charged successfully, you must provide an URL that Chargify can use to issue webhooks.

To configure a webhook in Chargify, complete the following steps:

  1. In your Chargify account, select Config
  2. Select Settings
  3. Select Webhooks
  4. Select the Add new endpoint button
  5. Enter the URL to which you want Chargify to send webhooks

    If you are using the Zephr CDN, the address to use is in the format https://<your_domain>/plugins/advanced/public/chargify/subscriptionChargedCallback.

    If you are not using the Zephr CDN, Zephr still provides a public endpoint that can be used by Chargify to send webhooks. To find this endpoint, complete the following steps in the Admin Console:

    1. Select Delivery
    2. Select Sites
    3. Select the site for which you want to use webhooks with Chargify
    4. Select Site Domains

    The address is in the format https://<your_zephr_cdn_domain>/plugins/advanced/public/chargify/subscriptionChargedCallback

  6. In your Chargify account, select the Payment Success event checkbox
  7. You can test whether Zephr can receive the webhook at the entered URL. To do this, select Actions, then select the option to run a test for the webhook

Chargify offers a number of useful tools for working with webhooks, including the ability to inspect the status of webhooks issued to Zephr.

Note: Chargify can resend webhooks. If you use this, duplicate product grants might be visible in the Zephr Admin Console. Although these duplicate grants do not affect the level of access for an end user, it can affect any reporting that uses Zephr data.