-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
When creating a new Stripe customer, also create a Usage-Based Subscription for them #10630
Conversation
…a Usage-Based Subscription for them
f611851
to
ad65354
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 The test worked and created a new customer in Stripe with a subscription.
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.
// FIXME(janx): Use configmap. | ||
const prices = { | ||
EUR: "price_1LAE0AGadRXm50o3xjegX0Kd", | ||
USD: "price_1LAE0AGadRXm50o3rKoktPiJ", | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you create an issue for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure! #10655
Many thanks @andrew-farries! This completes the UI part of the "creating invoices for the Gitpod team" milestone. 🏁
Ah, good catch. I've just filed this follow-up issue: #10656 |
Description
When creating a new Stripe customer, also create a new Usage-Based Subscription for them.
Related Issue(s)
Last step to fully implement #10326
How to test
Release Notes
Documentation