1 min read 1 like
Some organisations were billed for two plans at once
Jacob Fenton
We identified a bug that was causing some orgs to be “billed” for two plans at the same time (e.g. Legacy Hobby and Launch). “Billed” is in quotes, because some of these orgs had both a paid plan and the PAYG plan active, so they were only really being billed for one plan.
We audited all organisations and only 6 were actually over-billed at all. We’ve issued refunds to those organisations, and emailed their admins.
Root cause and fix
There were two problems we identified:
- Our ill-fated “Hobby trial” of mid-2024 had a bug where ending a trial would enable the Hobby plan ($5/mo) for orgs, even if they had already moved to another plan.
- We fixed this in July 2024 but missed some orgs in the cleanup. Clankers have ensured we didn’t make the same mistake this time!
- Plan changes by our system would only attempt to disable the monthly charge for the plan that our database said an organisation was on. If our database had somehow got out of sync with our billing provider, this meant that we left intact the charge for the plan that was actually enabled in our billing provider.
- Plan changes now disable all plans except for the plan to which the organisation is moving. E.g. if you’re moving to PAYG, we’ll disable all of Launch, Scale, Hobby, etc. just to be sure we disable whatever your old plan was, irrespective of sync issues.
- We’ve also added an alert when we fetch an org’s billing state and find it has two plans enabled, so we can be much more proactive about fixing these if they ever happen again. Defense-in-Depth™ 🤘