Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jankeromnes opened this issue Jun 14, 2022 · 0 comments · Fixed by #10658
Closed

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

jankeromnes opened this issue Jun 14, 2022 · 0 comments · Fixed by #10658
Assignees
Labels
team: webapp Issue belongs to the WebApp team type: bug Something isn't working

Comments

@jankeromnes
Copy link
Contributor

jankeromnes commented Jun 14, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: webapp Issue belongs to the WebApp team type: bug Something isn't working
Projects
Archived in project
1 participant