Skip to content

Fix briefly incorrect state when upgrading to Usage-Based Billing #10656

@jankeromnes

Description

@jankeromnes

Bug description

Part of #9036

When you upgrade a team to Usage-Based Billing, you might see a briefly incorrect state in the UI before the upgrade shows as "pending":

The UI embedded on the Gitpod side went through a slightly confusing transition where it went back to a 'not enabled' state after putting in card details, before transitioning to the 'manage billing' UI.

Source: #10630 (review)

Steps to reproduce

  1. Upgrade a team to Usage-Based Billing by adding a credit card
  2. After submitting, you might briefly see the UI in "Billing: Not enabled" state with an active "Add Payment Method" button (i.e. what you just did, which is confusing) before it eventually switched to the correct "pending" state, and then finally the "Billing: Enabled" state when the Stripe processing is done

Workspace affected

No response

Expected behavior

No response

Example repository

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

team: webappIssue belongs to the WebApp teamtype: bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions