When to use Checkout
Use Checkout when:- the customer is paying for a specific purchase
- your platform can redirect to or embed a hosted payment experience
- you want a faster integration than building custom payment forms
- you want Jupico to handle payment data collection and tokenization
- you need a mobile-friendly payment page out of the box
Typical checkout flow
1
Create a checkout session
Your backend creates a checkout session or hosted payment request, supplying the submerchant, amount, currency, and any configuration options.
2
Redirect the customer
Your frontend redirects the customer to the hosted checkout page, or opens it from within your product.
3
Customer enters payment details
The customer completes the payment form on the Jupico-hosted page. Jupico handles all PCI-sensitive data collection.
4
Jupico processes or tokenizes
Jupico processes or tokenizes the payment according to your checkout configuration.
5
Customer returns to your platform
After payment completes, is cancelled, or fails, the customer is returned to your platform at the URL you specified.
6
Confirm payment status server-side
Your backend confirms payment status through webhook events or query APIs before updating order state.
What to configure
A Checkout implementation typically needs the following:- submerchantId — the merchant account to receive the payment
- Amount and currency — the exact amount to charge and the currency code
- Customer or order reference — your platform’s reference for reconciliation
- Allowed payment methods — which payment options to present to the customer
- Success and cancel return behavior — the URLs to send the customer to after each outcome
- Metadata — key-value pairs for reconciliation and reporting
- Branding and descriptor settings — optional display customization, where supported
Customer experience
Design the checkout flow so the customer clearly understands:- who they are paying
- the amount due
- which payment methods are available
- whether payment succeeded, failed, or was cancelled
- how to return to your platform after any outcome
Operational guidance
Use server-side confirmation — not just the customer redirect — to determine whether a payment succeeded. Query the payment record directly or listen for the relevant webhook event before updating order status in your platform.Webhook events
Checkout emits two events, documented in Hosted page payloads:
In both payloads,
session.type is checkout and session.sessionId matches the hostedSession.hostedSessionId returned when you create the checkout session. Store that ID so you can match each webhook to your order.

