Pause Wall

Pause Wall

Pause Wall

Supported for Stripe and Chargebee.

Churnkey can automatically block access to your web app for customers whose subscription is currently paused. This is done by calling a function listed under window.churnkey following the same patterns as initializing the cancel flow. Note that this must be called after the Churnkey script is loaded i.e. Step 1.

  window.churnkey.check('pause', {
    subscriptionId: 'SUBSCRIPTION_ID' // optional
    customerId: 'CUSTOMER_ID', // required
    authHash: 'HMAC_HASH', // required
    appId: 'YOUR_APP_ID', // required
    mode: 'live', // set to 'test' to hit test billing provider environment
    provider: 'stripe', // set to 'stripe', 'chargebee'
    handleLogout() {
			// optional, if defined, a "Logout" button will show

This will trigger an asynchronous check of the customer’s current subscription status. If the subscription is currently paused, a blocking pause wall will be displayed on top of your application UI, which allows the option for a customer to resume their subscription immediately, or cancel their subscription at the end of the term.

On this page


© Churnkey, LLC