#Does 'subscription.active' fire only at the start of the first cycle or every cycle ?
1 messages · Page 1 of 1 (latest)
Short answer: use both.
Best UX pattern
subscription.active→ grant initial credits immediately- User just paid; instant access feels correct.
subscription.renewed→ refill/reset credits for the new billing cycle- Happens only after a successful renewal charge.
Why
subscription.activefires once → ideal for first-time provisioning.subscription.renewedfires every cycle → clean, predictable refills.- Avoids double-crediting and edge cases.
Implementation tips
- Make credit grants idempotent per event + billing period.
- If you allow plan changes, handle adjustments on
subscription.plan_changed.
Helpful Links