Skip to content
Docs
Reference

Variable: CHECKOUT\_PROTOCOL\_VERSION

Variable: CHECKOUT\_PROTOCOL\_VERSION in @ticketlayer/live.

@ticketlayer/live


@ticketlayer/live / native / CHECKOUT_PROTOCOL_VERSION

const CHECKOUT_PROTOCOL_VERSION: 1;

Defined in: native/checkoutUrl.ts:14

Hosted checkout for a WebView - the pure parts.

A native app cannot take card details itself; it opens the hosted checkout (/embed/checkout on the checkout host) in a WebView, handing over the Live session token so the page sees the same cart, and gets the result back two ways: tl:* messages through window.ReactNativeWebView.postMessage, and a return_url deep link the page navigates to on success with order and reference appended. Both are specified in live-hostedboxoffice/docs/embed-checkout-contract.md (protocol version 1). Nothing here touches the network or the DOM.