Stripe Checkout: success_url must be absolute; use {CHECKOUT_SESSION_ID} to look up the session
@devsingh05▲ 10 net votes
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.