Skip to content

[werft] Update Stripe prices used in preview environments to allow testing taxes #13008

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

Merged
merged 1 commit into from
Sep 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .werft/jobs/build/payment/stripe-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ data:
config: |
{
"usageProductPriceIds": {
"EUR": "price_1LFZhJGadRXm50o3v27S1DB1",
"USD": "price_1LFZhJGadRXm50o3YEAaspXu"
"EUR": "price_1LiId7GadRXm50o3OayAS2y4",
"USD": "price_1LiIdbGadRXm50o3ylg5S44r"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do these mean? 🙃

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @laushinka!

These are the ID of the Prices used when creating new subscriptions. They should correspond to a Price in our Stripe Product "Gitpod Usage": https://dashboard.stripe.com/test/products?active=true

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've created new Prices in our "test" Stripe account, with tax enabled, so that we can test tax things in preview environments. (Our previous Prices were not tax compatible, because we hadn't enabled Stripe Tax in the "test" account yet.)

Merging this update should unblock work on #13002 (which currently fails because it's impossible to subscribe with automatic tax enabled to a price that is not tax compatible) 😊

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the explanation!

}
}