Purchase Experience
Payments aren't just a pricing page – they're every moment a customer touches billing: first purchase, upgrades, downgrades, cancellations, payment failures, and the gentle nudges that invite a free user to upgrade. In this lesson you'll design and build the customer-facing side with a clear pricing page and Stripe Checkout, using the same plan → build → preview → ship loop.
• A pricing page that presents your tiers clearly.
• A working Stripe Checkout flow so users can subscribe.
• A customer billing portal (managed by Stripe) for changes and cancellations.
• Tasteful upgrade prompts for free users.
1. Design the purchase journey
Think through the whole lifecycle before building. In plan mode, have Claude help you map it.
Outcome: You have a plan for the full purchase journey.
2. Build the pricing page and Checkout
Build it with the Stripe skill. Use the products and prices you created in the last lesson, and keep the styling consistent with your app (Tailwind + shadcn/ui).
Outcome: Users can view pricing, subscribe through Stripe Checkout, and manage their subscription.
3. Add upgrade prompts and refine
Free users should see clear, friendly nudges to upgrade where it makes sense.
Outcome: The purchase experience is smooth end to end, with sensible upgrade prompts.
The plumbing that records who's actually subscribed – Stripe webhooks writing to Neon, and gating features by it – comes next in Payment Gates.