lingex-checkout
LingEx Checkout
Source details
- Source revision
c63e09483827b6b1b43b64a0b23da615a5b3c070- Source SHA-256
b2c870718221597fc381e6f3f89d104fd5b147a35cfdbaab6acbb926ecd36b39
LingEx Checkout
LingEx Checkout is the shared LingEx service for orders and payment orchestration.
It creates immutable commercial order snapshots from server-authoritative Catalog offers, coordinates payment providers behind a provider-neutral boundary, and grants Entitlements only after trusted payment completion.
It does not define products/prices, retain raw card data, or decide ownership independently of Entitlements.
Order integrity
Checkout snapshots product/offer identity, presentation, price, currency and catalog revision when an order is created.
Later Catalog changes cannot rewrite that order.
Client/browser price claims are not authoritative.
Payment boundary
Payment providers are adapters behind the Checkout payment-provider contract. Product repositories do not know or care which provider is selected.
Browser success redirects are never sufficient proof of payment. Completion is driven by trusted provider evidence and must remain idempotent/reconcilable across retries and interruptions.
Entitlements
A successfully verified paid order grants its product entitlement through the Entitlements service contract using a stable grant key.
Retrying completion converges on the same entitlement instead of creating duplicate ownership.
Public API role
Checkout owns its order/payment-domain handlers and route contracts. Public API exposure is through the canonical LingEx API boundary; api.lingex.co.uk is a public ingress hostname rather than a separate Checkout repository identity.
Runtime
Checkout is a shared web service.
Migrations are explicit. Payment-provider credentials and private runtime configuration belong in approved private LingEx configuration, never Git.