CTRL K
Stripe is the source of truth for failed-payment retries, hosted payment recovery, and final invoice status. Kommander listens for Stripe events and reflects the subscription state locally so product access can be reviewed consistently.
Event Flow
Local Handling
| Stripe event | Kommander behavior |
|---|---|
invoice.payment_failed | Records failure state, syncs subscription details, and sends the failed-payment email. |
invoice.payment_succeeded | Syncs successful payment state and updates the local subscription snapshot. |
customer.subscription.updated | Reflects Stripe status such as trialing, active, past_due, or cancellation-related states. |
customer.subscription.deleted | Marks the local subscription canceled and clears stale Stripe item IDs from linked organizations. |
Recovery Path
- The customer updates the payment method in the Stripe portal or in the in-app payment-method screen.
- Stripe retries according to the Stripe account’s retry configuration.
- Webhooks sync the resulting invoice and subscription state back to Kommander.
- Admins review invoice status and subscription status before escalating suspension or support action.
Grace And Suspension Guidance
Kommander should treat payment failure as a billing state that requires review, not as proof that access must immediately stop. Use Stripe invoice status, subscription status, customer communication history, and contract terms before suspending production assistants.
| State | Recommended handling |
|---|---|
trialing | Allow normal trial access until the trial ends or payment setup fails. |
active | Allow normal access. |
past_due | Keep access under review and guide the customer to update payment details. |
canceled or deleted subscription | Remove paid-channel entitlement unless enterprise or manual override terms apply. |
Enterprise accounts may use out-of-band collections and should follow the contracted commercial process rather than Stripe dunning defaults.