Stripe subscription cleanup
mattkrick opened this issue · 1 comments
mattkrick commented
We've got some spaghetti when it comes to ending a stripe subscription.
AC
- failure to pay, downgrading, and the stripe delete subscription all occur with no errors & reuse code where possible
mattkrick commented
invoice.payment_failed
subscription.deleted
downgradeToStarter
all of these are in the neighborhood of removing a subscription from an Org. they should all set the tier to starter for the org, team, users, orguesrs, etc.
We should tackle this after OrgUser and Org are in PG.