Billing page breaks if payment method is removed
Bug description
I wanted to remove my card from PostHog, so I canceled the subscription and deleted the card from stripe.
Now when trying to visit the billing page, there's a 500 error and nothing loads.
Error
if self.plan.is_metered_billing or self.plan.key == "startup":
How to reproduce
- Visit the Billing page
- Click to manage subscription
- Cancel subscription (in Stripe)
- Remove card
- Click back to return to PostHog
Environment
PostHog Cloud
I encountered this as well. Depending on how far we go with billing-v2, this may be fixed simply by focusing on the rollout. If it takes too long though we should check this out
This issue hasn't seen activity in two years! If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in two weeks.
This issue was closed due to lack of activity. Feel free to reopen if it's still relevant.