The actual payment related models are just a wrapper of stripe's model. The source of truth will be stripe in the year of 2021
scene
pricing plan
plan update (plan upgrade)
@user wants to update team-plan to enterprise-plan@manager wants to update team-plan to enterprise-planplan quota upgrade (people count)
@user invite other people : send request to @manager ( e-mail , ? )@manger invite other people : show change plan page OR upgrade plan pagecancel subscription
@user@usernotify when subscription updated
@manager's e-mailnotify invoice
@manager's e-mailfetch account's invoice list (billing history)
@manager : my payment history page@user : my project payment history pagewhen payment failed
@manager doesn't have money.@manager's card is die.suspend / freeze / failed payment account