You're using "Business" and "Pro" as values, but Stripe needs the actual Price ID which looks like:
price_1QRp5AHy8nR8fQSpP1234567
Go to: https://dashboard.stripe.com/test/products
You'll see something like:
📦 Products
├── Business (prod_TWscYSsLOg8Ap6)
└── Pro (prod_TWsddILDrKpBOb)
When you click on the Business product, you'll see:
Product details
─────────────────
Name: Business
ID: prod_TWscYSsLOg8Ap6
Pricing
─────────────────
🏷️ $29.99 USD / month
ID: price_1QRp5AHy8nR8fQSpP... ← THIS IS WHAT YOU NEED!
└── Click to expand
Click on the price or the three dots (...) next to it. You'll see the full Price ID:
Price ID: price_1QRp5AHy8nR8fQSpP1234567
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
COPY THIS ENTIRE STRING!
Click on Pro product and find its Price ID.
Replace the empty strings with the actual Price IDs:
export const STRIPE_PRICE_IDS = {
// Business Plan: $29.99/month
pro: 'price_1QRp5AHy8nR8fQSpP1234567', // ← Actual Price ID from Business product
// Pro Plan: $99.99/month
enterprise: 'price_1QRp5BHy8nR8fQSpQ7890123', // ← Actual Price ID from Pro product
};Products
└── Business
└── Pricing
└── $29.99/month
└── Details:
- Price ID: price_1QRp5AHy8nR8fQSpP1234567 ← COPY THIS
- Product: prod_TWscYSsLOg8Ap6 (don't use this)
- Currency: USD
- Billing: Recurring monthly
price_1QRp5AHy8nR8fQSpP1234567
NOT:
- ❌ "Business" (product name)
- ❌ "prod_TWscYSsLOg8Ap6" (product ID)
- ❌ "$29.99" (price amount)
Your Price IDs should:
- ✅ Start with
price_ - ✅ Be about 30-40 characters long
- ✅ Contain random letters and numbers
- ❌ NOT be just "Business" or "Pro"
- ❌ NOT start with
prod_
- Main Products Page: Shows product names and IDs
- Click Product Name: Opens product details
- Look for "Pricing" Section: Shows all prices
- Each Price Has:
- Amount ($29.99)
- Interval (monthly)
- Price ID (price_...) ← YOU NEED THIS!
Try this URL pattern: https://dashboard.stripe.com/test/products/prod_TWscYSsLOg8Ap6/prices
Replace prod_TWscYSsLOg8Ap6 with your product ID.
┌─────────────────────────────────────┐
│ Business │
│ prod_TWscYSsLOg8Ap6 │
│ │
│ Pricing │
│ ┌─────────────────────────────────┐ │
│ │ $29.99 / month │ │
│ │ price_1QRp5AHy8nR8fQSpP123... │ │ ← CLICK HERE
│ └─────────────────────────────────┘ │
└─────────────────────────────────────┘
When you click, you'll see:
Price details
─────────────
ID: price_1QRp5AHy8nR8fQSpP1234567 ← COPY THIS ENTIRE ID
Product: Business
Amount: $29.99