🎮 Demo: Cancel Button
Test how the Cancelly subscription cancel button works. This same button will work on your website.
🚀 Live Demo
💡 How it works: Enter the data below and click the button. The system will send a request to Stripe to cancel the subscription.
⚠️ This is a test demo - real subscriptions will not be canceled
⚡ How to Integrate
1. Connect the script:
<script src="https://cancelly.app/embed/cancel.js"></script>
2. Add the button:
<button class="cancelly-btn"
data-subscription-id="sub_xxx"
data-email="user@example.com">
Cancel Subscription
</button>
3. Configure webhook:
URL: https://cancelly.app/api/webhooks/stripe
Events: customer.subscription.deleted
📋 What happens:
- 1.User clicks the button
- 2.Request is sent to Stripe API
- 3.Subscription is canceled
- 4.Confirmation email is sent