# Churn buster

Checkout Champ's allows you to intelligently recover subscriptions through Churn Buster by installing the Churn Buster plugin in the CRM.

***

## Setup

### Step 1 obtain API credentials

1. Sign into: <https://app.churnbuster.io/>
2. Find the page that has your api keys the url should be similar to: [https://app.churnbuster.io/live/your-domain/sources/api](https://app.churnbuster.io/live/checkout-champ-testing/sources/api)
3. Copy both your Account ID and API Key

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2F2v73ne8MMNDR27kMViZF%2Fimage.png?alt=media&#x26;token=2a1e8b8d-5b8c-48b9-834c-367cf47a2636" alt=""><figcaption></figcaption></figure>

### Step 2 obtain webhook key

1. in your account settings find the webhook security page&#x20;
2. The url should be similar to: [https://app.churnbuster.io/live/your-domain/settings/webhook\_security](https://app.churnbuster.io/live/checkout-champ-testing/settings/webhook_security)&#x20;
3. Copy the live-mode key&#x20;

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FTiYwXPbreQ15oSVdMTAN%2Fimage.png?alt=media&#x26;token=d04ef00a-0812-40fc-bdea-e363b2ec337a" alt=""><figcaption></figcaption></figure>

### Step 3 Create the plugin in the CRM

1. Login into your [crm.checkoutchamp.com](https://crm.checkoutchamp.com/dashboard/) account
2. Navigate to the left hand side panel, click on admin, then on plugins.&#x20;
3. In the search bar look for Churn Buster, click on Data Sources, then available

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2Fwk3fq5JnT5Xqt9fXIsSN%2Fimage.png?alt=media&#x26;token=38b89ccd-b2a3-4035-9306-9192647cd50f" alt=""><figcaption></figcaption></figure>

1. Click on the Churn Buster plugin, and then activate below it
2. Paste your information from your Churn Buster account and click connect

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FEInLNublEfiMCZhIcOhm%2Fimage.png?alt=media&#x26;token=77172b0c-5a53-498c-838c-9900e5b05e5d" alt=""><figcaption></figcaption></figure>

### Step 4 configure webhook location

1. Again in Churn Buster, go to settings, find webhooks, and edit the webhooks
2. Set the URL to: <https://api.checkoutchamp.com/plugin/churnbuster/webhook/>
3. Do not change the event name if applicable&#x20;
4. This should be set up for the Retry Payments and Cancellations webhooks

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2F3XjbULKscmZorAh9sHV1%2Fimage.png?alt=media&#x26;token=0d72e5ce-82cb-456d-85dd-5a206385b38c" alt=""><figcaption></figcaption></figure>

Please note failed and successful payments may take up 20 minutes to sync to Churn Buster. Additionally successful subscriptions that have not had a failed payment sent to Churn Buster will not be synced.&#x20;
