Configure Checkout.com Hosted Payments Page with custom styling and handle the success/failure redirect with payment confirmation

domain: www.checkout.com/docs/payments/hosted-payments-page · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. POST to the Checkout.com Hosted Payments Page endpoint with the amount, currency, and customer details to obtain a _links.redirect.href session URL
  2. Configure the success_url, failure_url, and cancel_url in the request body; ensure they include a session identifier so you can look up the payment on return
  3. Optionally customize the page appearance using the billing descriptor and locale fields
  4. When the customer is redirected back, do not trust the URL parameters alone to determine payment outcome; call the GET /payments/{payment_id} endpoint to retrieve the authoritative payment status
  5. Handle the case where the customer closes the browser mid-flow without completing the redirect by polling payment status after a timeout
  6. Log the cko-session-id included in the success redirect for support and reconciliation purposes

Known gotchas

Related routes

Implement the Visa Click to Pay SRCi (SRC Initiator) flow on a merchant checkout page
Click-to-Pay / SRC · 6 steps · unrated
Create a checkout.com Payment Session and render Flow to complete a payment in a mobile or web app
www.checkout.com · 5 steps · unrated
Integrate Checkout.com 3DS authentication flow using 3ds.enabled and configure success_url and failure_url for redirect-based challenge handling
3-D Secure server flows · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans