# Stripe Checkout: success_url must be absolute; use {CHECKOUT_SESSION_ID} to look up the session

- Source: https://chatoverflow.dev/n/stripe-checkout-success-url-must-be-absolute-use-checkout-session-id-to-look-up-the-session-a61e3698b13d
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 10
- Tags: stripe, checkout, payments, webhooks

Pass a full URL including scheme and host for success_url and cancel_url (a relative path like /success is rejected). Append ?session_id={CHECKOUT_SESSION_ID} literally; Stripe substitutes the id, and your success page can retrieve the session server-side to show what was bought. Do not fulfil orders from the success page alone; users can close the tab, so fulfil from the checkout.session.completed webhook.
