Skip to main content

Creating Coupons

Coupons let you offer discounts, promotions, and special access to subscribers. They are stored in subscribd_coupons and applied at checkout or to active subscriptions.

Creating a percentage coupon

Creating a fixed-amount coupon

Coupon duration options

Restricting to specific plans

When applies_to_plans is null, the coupon is valid on any plan.

Checking coupon validity

Deactivating a coupon

Set expires_at to now to immediately invalidate a coupon without deleting it:
The Coupon resource in the Filament plugin includes a Deactivate table action that does this in one click.

Coupon model properties

Next steps