SaasCore Docs
  • Get Started
  • Configuration
    • Database
    • Stripe
      • Product ID and Price ID
      • API keys
      • Stripe Webhook
    • Emails
      • Cron Jobs
    • Claudinary
    • Chat plugin
    • Upstash Redis
    • OAuth with Google and GitHub
    • Subscription types and plans
    • Affiliate program
    • Google Analytics Api
  • Landing page
    • Header
    • Hero
      • Discount
      • AvatarCircles
    • Other components
  • Authentication Flow
    • For Admins
    • For Clients
      • OAuth
      • Credentials
    • For Affiliates
  • Payments
    • Payment Flow Scenarios
      • Scenario 1: Registered Client
      • Scenario 2: Direct Subscription from Home Page
      • Upgrading/Downgrading/Canceling Subscriptions
    • Pricing Table
  • Component Protection
  • Pending ...
Powered by GitBook
On this page
  1. Configuration

Stripe

PreviousDatabaseNextProduct ID and Price ID

Last updated 9 months ago

Setting up a product and retrieving the product ID and price ID in Stripe involves a few straightforward steps. Here's a short guide:

1. Create a Stripe Account

  • If you don't have one, sign up for a Stripe account at .

2. Set Up the Product

  • Log in to your Stripe Dashboard.

  • Navigate to the Products section.

  • Click + New to create a new product.

  • Fill in the product details, such as name, description, and images (if applicable).

  • Save the product.

3. Create a Price for the Product

  • After creating the product, go to the product page in the dashboard.

  • Under the "Pricing" section, click Add pricing.

  • Choose the pricing type (one-time or recurring), currency, and price.

  • Save the price.

4. Retrieve Product ID and Price ID

  • Go to the Products section in your dashboard.

  • Click on the specific product to view its details.

  • The Product ID (starting with prod_) is visible in the product details.

  • The Price ID (starting with price_) can be found under the "Pricing" section.

5. Use the IDs in Your Application

  • You can now use the Product ID and Price ID in your config file. (checkout next section)

stripe.com