Creating Coupons
Coupons let you offer discounts, promotions, and special access to subscribers. They are stored insubscribd_coupons and applied at checkout or to active subscriptions.
Creating a percentage coupon
Creating a fixed-amount coupon
Coupon duration options
duration_in_months | Behaviour |
|---|---|
null | Applied once to the first invoice only |
3 | Applied to the next 3 billing cycles |
0 | Applied indefinitely (every invoice) |
Restricting to specific plans
applies_to_plans is null, the coupon is valid on any plan.
Checking coupon validity
Deactivating a coupon
Setexpires_at to now to immediately invalidate a coupon without deleting it:
Coupon resource in the Filament plugin includes a Deactivate table action that does this in one click.
Coupon model properties
Next steps
- Applying Coupons — Apply coupons at checkout or to active subscriptions
- Feature Grants — Grant additional feature access via coupon