Docs
Create new product in Stripe

Create new product in Stripe

How to create a new product - subscription and one-time price in Stripe

You can create a new subscription or one-time price in Stripe.

  1. Register on Stripe
  2. We need to create 2 prices: for Development and Production modes.
  3. Navigate to Test mode and create a new product for Development mode.
  4. Navigate to Live mode and create the same product for Production mode.
  5. Go to each product and copy API ID in Pricing section. Example of API ID -> price_111111111111111111111.
  6. Paste API ID in prices.ts file in /services/stripe.com.

Example:

stripePriceID: isDev
  ? "price_DEVELOPMENT_API_ID"
  : "price_PRODUCTION_API_ID",