
- we can display the data in the UI (pricing table, billing section, etc.)
- create the correct checkout session
- make some features work correctly - such as feature-based access
apps/web/config.ts. We can see the schema in the packages/design-system/types/pricing.d.ts package. Let me show you some important parts:
Billing model
one-time: The product is one-time purchase.month: The product is subscription-based and renews monthly.year: The product is subscription-based and renews yearly.
Prices
priceId is the ID of the price in your billing provider. It is used to create the checkout session and to display the correct price in the UI.