Stripe·Fixpaymentsbeginner

Stripe Prices Not Showing in App

Quick Answer

Prices might be inactive in Stripe, or the code is hardcoding prices instead of fetching from Stripe's API. Start with "Fetch active prices from Stripe" before making broader code changes.

You're in the right place if...

  • !Pricing page shows nothing
  • !Prices from Stripe not loading
  • !Empty pricing table

Why this happens

Prices might be inactive in Stripe, or the code is hardcoding prices instead of fetching from Stripe's API.

Fix

1

Fetch active prices from Stripe

Query Stripe for active prices instead of hardcoding:

const prices = await stripe.prices.list({
  active: true,
  expand: ['data.product'],
})

// Make sure prices are ACTIVE:
// Stripe → Products → your product →
// check price has green 'Active' badge

Prevent this next time

Always fetch prices from Stripe's API rather than hardcoding them. This way, price changes in Stripe auto-reflect in your app.

Frequently Asked Questions

No. Fetch from Stripe's API. This way price changes, new plans, and deactivated prices auto-reflect.

In Stripe Dashboard → Products → your product, check the price has a green 'Active' badge. Archive old prices.

Related fixes

Weekly Newsletter

Get next week's fix before you need it.

Join developers getting weekly vibe coding tips, error fixes, and tool updates.

Subscribe on Substack →