CTRL K
Discount codes are validated by Kommander before Stripe receives a subscription create or update request. When a code maps to a Stripe promotion code, Stripe applies the coupon math to the subscription.
Application Flow
Validation Rules
| Rule | Behavior |
|---|---|
| Code exists and is active | Invalid, disabled, expired, or missing codes are rejected before Stripe is called. |
| Channel restrictions | Codes can be limited to internal, external, or both channel selections. |
| Trial override | A code can replace the default 14-day trial with a configured trial-day value. |
| Stripe promotion mapping | If present, the Stripe promotion code is attached at the subscription level. |
| Redemption record | Kommander records successful redemption after Stripe accepts the create or update. |
Billing Effects
For new subscriptions, the discount is applied while creating the Stripe subscription. For existing subscriptions, Stripe applies promotion codes at the subscription level, so the discount can affect the user’s whole subscription rather than only the newly added assistant.
Discounts with one-time or repeating durations lapse according to the Stripe coupon configuration. Kommander records redemption for support and review, but Stripe remains the billing source of truth for invoice amounts.
Review Checklist
- Confirm the code is intended for the selected channels.
- Confirm whether the discount changes trial days, invoice amount, or both.
- Confirm the owner understands subscription-level effects when adding a code to an existing subscription.
- Confirm the Stripe promotion code exists before using the code in production.