Cancel flow
- from @gtm
- by PumpGTM (https://pumpgtm.com)
An in-app Stripe cancel dialog: a reason with one follow-up question, then a full refund if they were charged in the last 24 hours, or one save offer picked from the reason (more trial days, a pause, a discount, a free month, or this month forgiven when a payment failed), then a real cancellation. Past-due cancels void what is owed. Records everything on Stripe, so there is no table to add.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @gtm/cancel-flowRegistry dependencies7
- button
- dialog
- input
- label
- radio-group
- textarea
- @gtm/subscription-state
