1. Support
  2. Keep customers

Add the cancel flow to your app

Paste two lines of HTML and your own cancel button opens the flow for the signed-in customer.

In the appCancel Flows → your flow → Get Code

  1. Open your flow and click Get Code.
  2. Choose Staging to test with your Stripe test data, or Production for real customers.
  3. Copy the HTML snippet into the page where customers manage their subscription.
  4. Fill in the signed-in customer’s details (see below).
  5. Give your existing cancel button the data-cancel-subscription attribute, or use the button in the snippet.

Tell ExitLoop who the customer is#

The snippet has a data-customer-email attribute. Replace the placeholder with the email of the customer who is signed in.

Optional settings#

  • data-cancel-selector: use your own cancel button’s CSS selector instead of the default attribute.
  • data-cancel-redirect-url: where to send customers after they cancel.
  • data-fallback-url: where to send customers if the flow can’t load.

Nothing to sign and no secret keys go in your page. Stuck on a specific framework? Email us the page you’re adding it to.

Still stuck? Email us.

A person on the ExitLoop team reads every message and writes back from this address.

support@exitloop.app

The next customer who clicks cancel might stay

Try the customer experience first, then connect your own Stripe account.