Churnkey Integration Details
Churnkey provides customizable churn flows to help you reduce churn and understand why users are leaving.
Billflow now provides an easy to use integration with Churnkey. Bellow are the steps to get started.
Go to the Advanced settings of your customer portal and enable "Use Churnkey"
This will add configurations keys to your embed snippet so values can be dynamically set.
The Step 1 on Churnkey's installation instructions can be skipped, Billflow takes care of that for you.
You need to generate a security hash for Churnkey the same way it is done for billflow, by running a piece of serverside code with your logged-in customer's Stripe ID and a secret key.
Step 3 in Churnkey's instructions is where you can grab your appId. You will notice these are the same keys that get generated on your Billflow snippet.
You will see the following configurations added to your Billflow embed snippet.
Churnkey App ID. Grab this from Step 3 of the Churnkey Embed instructions.
Set to the Stripe customer ID of the logged in user. Eg: cus_K9c72057lXagII
Set to the authentication hash generated with your Churnkey server-side snippet. This is different that the Billflow hash although the generation steps are very similar.
Set to the Stripe mode you want to be in. Both the Billflow modes and the Churnkey modes map to Stripe Test and Live mode. Normally set this to the same mode as your billing page. Eg: "test" or "live"
Last modified 1yr ago