Billflow
  • Quick Start
  • Setup
    • First Time Setup
      • Connect & Setup Stripe
      • Invite Team Members
      • Create Your First Billing Page
      • Embed The Billing Page
      • Activate Live Payments
  • Billing Pages
    • Plan Picker
    • Checkout Form
    • Customer Portal
    • Pricing Page
    • Invoice Portal
  • How-to's
    • Setup Pricing
      • Flat-rate Subscriptions
      • Free Trial
      • Unit-based
      • Meter-based
      • Setup Fees
      • One-Time Payment
      • Payment Plans (Subscription Schedules)
      • Complex Pricing
      • Add-ons
    • Connect to SaaS
      • Using Stripe Webhooks
    • Change Style
      • Plan Picker Style Templates
      • Customer Portal Style Templates
      • Pricing Page Style Templates
      • Checkout Form Style Templates
    • Update Pricing
    • Use Coupons
    • Enable Quantity Management
    • Enterprise Sales Flow
    • Cancellations/Payment Failures
      • Set up Cancellation Feedback
      • Configure Dunning Emails
    • Automated emails
    • Internationalization
      • Support multiple currencies
      • Support multiple languages
    • Upgrade to new Billing Pages
    • Record Usage
    • VAT & Taxes
    • Indian Recurring Payments
  • No-code Integrations
    • No-code App Builders
      • Bubble
        • How to connect Stripe webhooks to Bubble
      • Webflow
      • WordPress
        • Add Widgets
        • Advanced Usage
        • Useful Plugins
      • Notion
      • Drupal
    • Rewardful
    • ChurnKey
  • Developer Docs
    • Embed Configurations
      • Plan Picker Configs
      • Checkout Form Configs
      • Customer Portal Configs
      • Pricing Page Configs
      • Invoice Portal Configs
    • Handling Events
    • Languages & Frameworks
    • Customize Elements
    • Versions & Beta Testing
  • Help
    • Managing Account & Team
      • Reset Your Password
      • Manage Team Members
    • Frequently Asked Questions
    • Changelog
Powered by GitBook
On this page
  • Enable on Billing page
  • Churnkey installation
  • Step 1
  • Step 2
  • Step 3

Was this helpful?

  1. No-code Integrations

ChurnKey

Churnkey Integration Details

PreviousRewardfulNextEmbed Configurations

Last updated 3 years ago

Was this helpful?

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.

Enable on Billing page

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.

Churnkey installation

Step 1

The Step 1 on Churnkey's installation instructions can be skipped, Billflow takes care of that for you.

Step 2

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

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.

plugins: {
				churnkey: {
								appId: "",								
								customer_id: "",
								authHash: "",
								mode: "",
				}
}

Key

Value

appId

Churnkey App ID. Grab this from Step 3 of the Churnkey Embed instructions.

customer_id

Set to the Stripe customer ID of the logged in user. Eg: cus_K9c72057lXagII

authHash

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.

mode

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"

You can find the Churnkey installation steps by logging into and clicking on "Embed"

Churnkey