Checkout page
Add Stripe Checkout to my Next.js app that sells space facts products. Create a server route that makes a Checkout Session from a Price ID (never trust prices from the browser), redirect with a 303, add success and cancel pages, and turn on automatic tax. Read test-mode keys from environment variables.