posthog icon indicating copy to clipboard operation
posthog copied to clipboard

Billing page breaks if payment method is removed

Open corywatilo opened this issue 3 years ago • 3 comments

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.

image

Error

if self.plan.is_metered_billing or self.plan.key == "startup":

Stack trace

How to reproduce

  1. Visit the Billing page
  2. Click to manage subscription
  3. Cancel subscription (in Stripe)
  4. Remove card
  5. Click back to return to PostHog

Environment

PostHog Cloud

corywatilo avatar Oct 13 '22 17:10 corywatilo

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

benjackwhite avatar Oct 14 '22 07:10 benjackwhite

Related ticket

corywatilo avatar Oct 17 '22 17:10 corywatilo

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.

posthog-bot avatar Oct 17 '24 07:10 posthog-bot

This issue was closed due to lack of activity. Feel free to reopen if it's still relevant.

posthog-bot avatar Nov 01 '24 07:11 posthog-bot