STRIPE · TEST MODE

Your own test checkout

Create a hosted Stripe Checkout for your configured one-time price. Test mode only. Approve api.stripe.com in this app’s network panel.

Add these envs below, then refresh:

  1. STRIPE_SECRET_KEY — your sk_test_… key (or an appropriately restricted test key).
  2. STRIPE_PRICE_ID — a one-time test price (price_…) from your Stripe Dashboard.
  3. STRIPE_RETURN_URL — copy this app page URL:

After creating a session, follow the checkout link above the preview. Stripe collects the card details. This example checks the returned session with Stripe; it does not fulfil orders or process webhooks.