Skip to content

Configure usage-based Stripe product IDs (i.e. prices) #10655

@jankeromnes

Description

@jankeromnes

Part of #9036

When creating a Stripe usage-based Subscription, we link a Stripe Customer to a Stripe Product via a "Stripe Price" (technically, a different ID depending on EUR or USD currency)

Currently, we hard-code the Stripe Price IDs in code:

// FIXME(janx): Use configmap.
const prices = {
EUR: "price_1LAE0AGadRXm50o3xjegX0Kd",
USD: "price_1LAE0AGadRXm50o3rKoktPiJ",
};

Instead, we should configure them in a server configmap (for preview envs, staging, and production).

Metadata

Metadata

Assignees

Labels

team: webappIssue belongs to the WebApp team

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions