Free, Trialing, Active, Past Due, Cancelled
| From | To | Event | Guard |
|---|---|---|---|
| Free | Trialing | subscribe | Customer has Payment Method; Plan offers trial; Customer has no prior Subscription that was Trialing |
| Free | Active | subscribe | Customer has Payment Method; Plan has no trial |
| Trialing | Active | trialEnds | Payment succeeds |
| Trialing | Cancelled | trialEnds | No payment method |
| Active | Past Due | paymentFails | |
| Active | Cancelled | userCancels | |
| Past Due | Active | paymentSucceeds | |
| Past Due | Cancelled | paymentFails | |
| Cancelled | Trialing | resubscribe | Plan offers trial; Customer has no prior Subscription that was Trialing |
| Cancelled | Active | resubscribe |