Checkout & hosted pages

White-label checkout: customizing the design

Overview

Your customers should see your brand in the checkout, not Kyvento's. Under Settings β†’ "Hosted Pages" you shape colors, typography and the finer details – and with your own domain the Kyvento address disappears from the address bar too (see Using your own checkout domain).

Colors and typography

The "Theme colors" section sets the colors for buttons, backgrounds, text and lines in the checkout and hosted pages – each as a color picker or a hex value. Watch the contrast between text and background; a checkout that is hard to read costs conversions.

Under "Typography & layout" you choose the font family, the corner radius and the button style. That way the checkout matches your website without you writing any CSS. This card – like custom CSS and custom JavaScript – sits in the collapsible "More settings" area at the bottom of the page.

Hosted pages settings with the Checkout active switch and the color scheme
Color scheme: the checkout in your brand colors

Custom CSS – within limits

If the standard options are not enough, you can add your own CSS. It is, however, validated server-side against an allowlist: properties that let elements overlap, move or become invisibly clickable – among them position, z-index, cursor, pointer-events – as well as url() and @import are not permitted. Use one of them and saving is rejected with a message. The reason is what the page is for: on a payment surface, no stylesheet may obscure what the customer is actually clicking.

Embedding your own JavaScript

Under "Custom JavaScript" you can embed an external script into the checkout and hosted pages – a chat widget or an analytics snippet, for instance. Four things have to come together, otherwise nothing is loaded:

  • an absolute HTTPS address. Kyvento rejects http:, javascript: and data:.
  • a subresource integrity hash in the form sha256-…, sha384-… or sha512-…. It is mandatory; without it the URL cannot even be saved.
  • the enable switch. Without it the script stays off, even when everything else is filled in.
  • your own checkout domain, active and verified via DNS. On the Kyvento address, Kyvento never runs custom scripts – not even ones already saved (see Using your own checkout domain).

The hash is not a formality: on a payment page, a script swapped out afterwards could read along with what is typed. The browser only loads it when the checksum matches – if the provider changes the file, it stays off until you update the hash. So only embed scripts whose origin you know, and prefer versioned URLs.

Kyvento can block custom JavaScript for individual accounts; in that case a note appears in place, pointing to a support ticket.

Logo and company name

You maintain your company logo centrally under Settings β†’ "Account" – it appears at the top of the checkout and in your system emails, which also pick up your primary color. Without a logo of your own, the checkout shows the Kyvento logo there. Alongside it your business appears under its company name, including in the browser tab title. The icon in the browser tab (favicon) is uploaded on the "Custom Domains" page.

Do not confuse it with the customer portal

The customer portal – the self-service area for existing customers – is designed under Settings β†’ "Branding" ("Customer portal" group). By default it takes its colors from the hosted pages (switch "Inherit design from hosted pages" in "More settings"); turn it off to set portal colors of your own there. Custom CSS and custom JavaScript, on the other hand, are always maintained separately for the portal, with their own switch – what you enter here for the checkout has no effect in the portal.

Recommendations

  1. Primary color = your brand color, the rest sparingly – a calm checkout reads as more trustworthy than a colorful one.
  2. After every change, open the checkout link in a private window and walk through all steps, on a phone as well.
  3. Round it off with your own domain – see Using your own checkout domain.

Next steps

← Back to Support

Related articles

Checkout & hosted pages

Service notices for your customers

Overview When your customers temporarily cannot do something in the customer portal β€” because you are planning maintenan...

Checkout & hosted pages

Setting up hosted pages

Overview With the hosted pages you sell your subscriptions without a line of your own code: Kyvento provides a ready-mad...