Choose your checkout
Compare hosted pages, dynamic hosted checkout and Altruon.js, see what all three share, and pick the one that fits your integration.
Altruon gives you three ways to put a checkout in front of a shopper. All three run on the same session, the same routing entries and the same billing sync, so you can start with one and add another later, or run several side by side.
Reusable checkout links you build in the backoffice, one per plan, with conversion stats per link.
Your server creates a session with the cart and the customer, then redirects the shopper to an Altruon-hosted page.
Altruon's payment component inside your own checkout page. Results come back through callbacks.
Compare the three
| Hosted pages | Dynamic hosted checkout | Altruon.js | |
|---|---|---|---|
| What it is | A reusable checkout link, fully hosted by Altruon and configured in the backoffice | An Altruon-hosted checkout page for a session your server creates at runtime | Altruon's payment component embedded in your own checkout page |
| Code needed | None | One server-side call to the Create Session API, then a redirect | A server endpoint that creates the session, plus frontend code that renders the component and handles callbacks |
| Where the cart comes from | Fixed per link: plan, currency, add-ons and coupons are set in Settings > Hosted Pages and can be edited there | Passed in each Create Session call | Passed in each Create Session call |
| Where customer data comes from | The shopper types everything. Fields always start empty | customerData and document in the Create Session call pre-fill the form. The shopper can edit the values | Your page collects it and passes it from the browser with altruon.setCustomer() and altruon.setAddresses() |
| URL pattern | https://{your-domain}.altruon.io/checkout/p/{id} | https://{your-domain}.altruon.io/checkout/s/{sessionId} | Your own URL |
| Styling | Settings > Checkout: logo, brand color, company name, Classic or Neo skin | The same Settings > Checkout configuration | Your page and your design. styleCustomization on the session styles the component |
Trial override (billingData.forceTrialPeriodDays) | Not supported. A trial set on the plan in your billing catalog still applies | Supported | Supported |
| After the payment | The shopper is redirected to the Redirect URL from Settings > Checkout | The shopper is redirected to the session's redirectUrl | Your page receives a callback: onSuccess, onFailure, onActionRequired or onDataRequired |
| When a session expires | The shopper restarts from the same link | Your server creates a new session | Your server creates a new session |
| Best for | Marketing links, campaigns, payment links in emails and invoices, sales-assisted checkout | Checkouts where your server already knows the plan, the customer and the context: a CRM, a game launcher, a subscription upgrade flow | SaaS signup flows and custom checkout experiences |
What all three share
- ShopperOpens the checkoutA hosted link, a session URL or your own page.
- AltruonRuns the sessionShows the payment methods routed for the currency and takes the payment.
- AcquirerProcesses the paymentThe acquirer your routing entry points to.
- Billing platformSubscription createdThe first invoice is marked paid.
The same setup
Every option needs the platform setup from the quickstart: a connected acquirer, at least one routing entry, and a connected billing platform. Hosted pages and dynamic hosted checkout also share one appearance configuration under Settings > Checkout.
The same session
Every checkout runs on a session. A session is single use and expires 15 minutes after it is created.
- With hosted pages, Altruon creates the session for you each time a shopper opens the link.
- With dynamic hosted checkout and Altruon.js, your server creates it with
POST /api/session/v1/createand your secret key. The secret key never reaches the browser.
The same routing
The payment methods a shopper sees are the ones your routing entries map to the session currency. If you create the session yourself, you can leave the choice to the shopper or pass paymentData.paymentMethod to show one method only.
The same billing sync
Once a payment completes, on any of the three:
- A subscription is created on your billing platform.
- The invoice is marked paid.
- The transaction is recorded with the acquirer's own transaction ID.
- Altruon collects the recurring charges until the subscription is paused or canceled.
Trials set on the plan and coupons work on all three. See How billing sync works for the detail.
How to decide
- You want a link and no code. Use hosted pages. You build each link in the backoffice, share it, and read its conversion stats there.
- Each checkout is different, and Altruon should host the page. Use dynamic hosted checkout. Your server decides the plan, the coupons, the trial length and the customer details for each shopper, and the hosted form opens pre-filled.
- The shopper should stay on your own page. Use Altruon.js. You own the page and the customer form, and the component handles the payment fields.
You can combine them. For example, use hosted pages for sales-led deals and Altruon.js for your self-serve signup flow.