You can use the details from a Checkout Session to display an order confirmation page for your customer (for example, their name or payment amount) after the payment. To use the details from a Checkout Session:
- Modify the
success_urlto pass the Checkout Session ID to the client side.
- Look up the Checkout Session using the ID on your success page.
- Use the Checkout Session to customize what’s displayed on your success page.