OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Checkout flow with cart and payment
Goal
Guide the user through the payment and order confirmation process.
Context
The final stage of the purchasing journey.
Source Definition
import {
definePresentation,
StabilityEnum,
} from '@lssm-tech/lib.contracts-spec';
import { OrderModel } from './order.schema';
export const CheckoutPresentation = definePresentation({
meta: {
key: 'marketplace.checkout',
version: '1.0.0',
title: 'Checkout',
description: 'Checkout flow with cart and payment',
domain: 'marketplace',
owners: ['@marketplace-team'],
tags: ['marketplace', 'checkout', 'cart'],
stability: StabilityEnum.Experimental,
goal: 'Guide the user through the payment and order confirmation process.',
context: 'The final stage of the purchasing journey.',
},
source: {
type: 'component',
framework: 'react',
componentKey: 'Checkout',
props: OrderModel,
},
targets: ['react'],
policy: {
flags: ['marketplace.checkout.enabled'],
},
});