Hosted checkout is a payment page PaymentHooks runs for you. Your website or integration creates a checkout session (one order) and sends the customer to its page. The customer pays there through one of your connected gateways, so card details never touch your site.
What the customer sees
- The order summary with line items, tax and total, in your branding.
- A Promo code field, shown only when you have at least one active coupon.
- Your live gateway connections that can charge the order, in the currency chosen for this customer.
- For a subscription, the plan, how often it renews, any free trial, and that it renews automatically until cancelled.
- If a payment is declined, options to Try a different card or Use a different payment method without losing the order.
In subscription mode, only gateway connections that can renew automatically and have Use for subscriptions on are offered. Paying also sets up the automatic payments for the renewals.
Follow checkouts in the dashboard
Open Payments > Checkout. Filter by All, Open, Pending, Complete or Expired, or by date. Click a row to see the session's transaction details, customer, line items, related payment, refunds, URLs and payment events.
A checkout session takes one payment request at a time. If the customer clicks Pay twice or pays the same session in a second tab while a payment is being processed, the second request is refused with PAYMENT_IN_PROGRESS before any gateway is called, so the customer is never charged twice. The page then shows Payment already in progress and moves to the success page by itself when the first payment completes; if that attempt fails, Back to payment returns to the form. When the gateway already took the money and only its confirmation is still running, the page shows Confirming your payment and offers no retry.
After payment, the customer is sent to the success page your integration set. That redirect alone is not proof of payment: rely on the payment in the dashboard or a verified webhook.
In test mode, checkout shows PaymentHooks test payment methods instead of your gateways, and no real money moves.