readthedocs.org
readthedocs.org copied to clipboard
Subscriptions: use djstripe for Plan and PlanFeature models
Similar to #9312 we'll want to use djstripe for these models as well. This is a little bit more work, as there is no Stripe resource for PlanFeature.
- [ ] Decide on mechanism for storing plan features programmatically -- options might include storing metadata values on the Plan instances
- [ ] Update our feature detection code to use the new data and Stripe Plan objects
- [ ] Again, monitor this heavily. This change might be more apt to break features for users. Be very careful of features for Pro plan users, which are the most likely to be gated behind PlanFeature conditionals. Any conditional feature should be tested before release or we risk bringing down user sites\
- [ ] Bonus points if your plan can be feature flagged itself. Something to avoid releasing to production and affecting all high tier customers simultaneously.