ParabolInc / parabol

Free online agile retrospective meeting tool

Home Page:https://www.parabol.co/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stripe subscription cleanup

mattkrick opened this issue · comments

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

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.