Overview
The Stripe integration allows you to automatically track customer cancellations from your Stripe subscriptions. When a customer cancels their subscription, SeggWat captures the event along with the cancellation reason and any comments they provide.This integration connects your Stripe account to SeggWat. It tracks cancellations from your customers’ subscriptions, helping you understand why customers churn.
Features
- Automatic churn tracking - Cancellation events are captured in real-time via webhooks
- Cancellation reasons - See why customers are leaving (too expensive, missing features, etc.)
- Customer comments - Capture verbatim feedback from departing customers
- Churn analytics - View trends, statistics, and breakdowns in the Insights dashboard
- Owner notifications - Get notified when customers leave feedback with their cancellation
Setup Instructions
Step 1: Open the Stripe Integration
- Navigate to your project in SeggWat
- Go to Integrations in the sidebar
- Click on the Stripe integration card
Step 2: Copy the Webhook URL
In the Stripe integration modal, you’ll see a unique webhook URL for your project:Step 3: Configure Stripe Webhook
- Open your Stripe Dashboard
- Go to Developers → Webhooks
- Click Add endpoint
- Paste the webhook URL from SeggWat
- Under Select events, click Select events
- Search for and enable:
customer.subscription.deleted
- Click Add endpoint
Step 4: Copy the Signing Secret
After creating the webhook in Stripe:- Click on the webhook you just created
- Under Signing secret, click Reveal
- Copy the secret (starts with
whsec_) - Return to SeggWat and paste it in the Signing Secret field
- Click Save Secret
Viewing Churn Data
Once configured, churn data appears in two places:Insights → Churn Tab
Navigate to Insights and click the Churn tab to see:- Total cancellations - All-time count
- Monthly trends - This month vs. last month with percentage change
- Cancellation reasons - Visual breakdown of why customers churn
- Recent cancellations - List of recent events with customer details and comments
Notifications
Project owners receive notifications when customers include comments with their cancellations. This helps you quickly respond to actionable feedback.Cancellation Reasons
Stripe captures cancellation feedback through thecancellation_details.feedback field. SeggWat maps these to the following categories:
| Reason | Description |
|---|---|
| Too Expensive | Customer finds the price too high |
| Missing Features | Product lacks features the customer needs |
| Switched Service | Customer moved to a competitor |
| Low Quality | Customer is unhappy with product quality |
| Too Complex | Product is too difficult to use |
| Unused | Customer no longer needs the product |
| Customer Service | Issues with support experience |
| Other | Custom reason provided by customer |
Testing the Integration
You can test the webhook using Stripe CLI:Troubleshooting
Webhook Not Receiving Events
- Verify the webhook URL is correct in Stripe
- Ensure the signing secret matches (starts with
whsec_) - Check that
customer.subscription.deletedevent is enabled - Verify your webhook endpoint is showing in the Stripe dashboard
Integration Shows “Pending”
The status changes to “Active” after the first successful webhook is received. You can:- Wait for a real cancellation
- Use Stripe CLI to trigger a test event (see Testing section above)
- Check the Stripe dashboard for webhook delivery attempts
Invalid Secret Error
If you see a secret validation error:- Re-copy the secret from Stripe (click “Reveal” to see the full secret)
- Ensure no extra spaces before or after the secret
- The secret should start with
whsec_
Signature Verification Failed
If webhook signature verification fails:- Ensure you’re using the correct signing secret for this specific webhook endpoint
- Check that the webhook is pointing to the correct URL
- Verify no proxy or middleware is modifying the request body
Data Privacy
SeggWat only stores:- Subscription ID (for deduplication)
- Customer ID (if provided by Stripe)
- Cancellation reason and comment
- Timestamp