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:
STRIPE_SECRET_KEY— yoursk_test_…key (or an appropriately restricted test key).STRIPE_PRICE_ID— a one-time test price (price_…) from your Stripe Dashboard.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.