- Support
- 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
- Open your flow and click Get Code.
- Choose Staging to test with your Stripe test data, or Production for real customers.
- Copy the HTML snippet into the page where customers manage their subscription.
- Fill in the signed-in customer’s details (see below).
- 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