Starter limits
Compare package composition, source references and the application starter before choosing an evaluation path. Use the starter tables below to recognize its refusals while running it.
Evaluation boundaries
| Path | What you can evaluate | Boundary |
|---|---|---|
| npm packages | Selected engines and server services in your application | Pin matching exact versions; supply adapters and host composition. Follow installation. |
| Portable PostgreSQL primitives | Database ports, migrations and recovery operations | Supply application composition; see the payment boundaries below and the database recipe. |
| Default source reference | Static catalogue and item pages, plus health | GET/HEAD only; checkout, subscriptions, admin, API/BFF, cron and mutations are refused. |
| Opt-in subscription reference | Recurring-item purchase, captured payment, confirmed email sign-in, owned order/subscription reads and renewal-date changes | Owned disposable local database/authentication services and Node host; synthetic data and a captured mailbox, with no external provider calls. |
| Application starter | Native actions bound to a local demonstration database | Sandbox payments and private message capture; no hosted-database installation recipe. |
The opt-in subscription reference does not demonstrate automatic renewals, fulfillment, failed-renewal recovery or the complete late-delivery journey. A renewal date is a planned charge date, not a delivery promise. Follow its local evaluation recipe for setup and buyer/account verification.
To evaluate a source reference, choose an immutable release tag and follow that revision's README and release notes, including its toolchain and test prerequisites. A source build does not start a complete commerce application. See the install support policy for the installation boundary.
Subscription cadence representation
Fresh platform quotes, order drafts and editor results accept 1 through 3660
whole days (ten years). MAX_CADENCE_DAYS is exported from
@openlup/core/subscription. This admission limit avoids timestamp and settlement
integer overflows, with room for lateness. Applications choose offered cadences
in owned configuration.
Fresh checkout identity persistence, resume-draft writes and expired checkout
recreation use the same limit before writes or provider calls. A readable stored
cadence does not authorize fresh recovery work; recreation refuses it with
ExpiredCheckoutRecoveryError, reason cadence_limit_exceeded.
Checkout transport, resume/recovery/account reads, editor contexts, retained
renewal terms and frozen snapshots preserve 1 through 2147483647 integer
representation. Completed editor, native draft and renewal receipts replay before
current limits, with ownership and fingerprint checks intact. Checkout command
execution and saga fallback can quote before replay, so stored cadence above
3660 can still refuse on those paths. At the 1.1.0 release, this affected only
unreleased development data. It remains a follow-up. Fresh native renewal
creation or starter graduation above 3660 returns NativeRenewalCadenceError with reason
cadence_limit_exceeded and maximumCadenceDays; choose an executable cadence
before starting a new renewal. Reading or replaying a frozen operation does not
apply this new-admission limit.
Managed checkout identity retries above the admission limit authenticate the complete canonical payload and verified subject against the stored fingerprint. The adapter reads the fingerprint and completed response together and returns that snapshot without entering the writer; conflicting retries cannot reopen the key.
1.1.0 widened native actor and command previews and the
edit-quote CHECK to 1..3660 through
20261122190000_subscription_cadence_bound.sql. The starter uses the same bound.
Apply the matching package's complete native catalogue before using longer
cadences. The managed chain has no corresponding
90-day cap and received no migration in this change.
Quantity and line representation
Checkout commands represent at most 99 units per line and 50 lines.
The platform schema keeps these fixed bounds as private
MAX_CHECKOUT_LINE_QUANTITY and MAX_CHECKOUT_LINES constants; they are not
configurable package exports. The starter also retains its 100-unit cart
bound (MAX_STARTER_OFFER_UNITS). Owned business limits may be lower.
In the 1.2.0 starter, startup refuses unsupported owned configuration:
| Configuration above the representation bound | Startup code |
|---|---|
offer.maxUnits > 100, or any subscription SKU quantity domain maximum above 99 |
starter_units_above_representation |
maximumBaseLines + maximumAddonLines > 50 in either subscription offer |
starter_lines_above_representation |
Exactly these bounds are accepted. Subscription maximumUnits is a separate
aggregate business limit; it does not replace the per-SKU or line bounds.
Lowering owned limits applies to fresh admission. Completed matching checkout
receipts and authorized paid-order reads retain their stored result, with
ownership and request fingerprint checks intact.
Fulfillment execution limits
The native capability reader names these boundaries before provider I/O. A capability declaration does not activate an adapter or install an execution path.
| Requested capability | Refusal or limit | Available path |
|---|---|---|
| Provider-held reservations, including remote reserve/release | provider_reservations_unsupported |
Use recorded local reservations. |
| Provider-managed stock consumption | stock_consumption_policy_unsupported |
Use local finished-picking consumption. |
| Movements on a snapshot-only stock source | stock_movements_unsupported in movementRefusal |
Snapshots may succeed; retain the prior movement watermark. |
| Independent split allocations | independent_split_unsupported |
Multiple tracking references may describe one commitment; resolve independent allocations through host operations. |
| Standalone pickup-point or locker booking/delivery | pickup_point_delivery_unsupported |
Existing adapter pickup-point selection data remains accepted. |
| Historical dispatch without recorded reservations or order mode | dispatch_reservations_not_recorded or order_mode_unproven; batch selection withholds unpreparable rows |
Authorized manual repair; no backfill or inferred acceptance. |
| Automatic replacement confirmation | No automatic confirmation or inferred arrival | Replacement creation and dispatch never settle alignment; record actual customer arrival through an admitted command. |
| Native shipments overview | host_binding_required |
Bind a reader over host-owned overview data; native shipment rows do not supply that dataset. |
| Historical failed/uncertain dispatch | Old diagnostic outcome remains NULL; no automatic resubmission |
Inspect recorded proof and use authorized provider readback/manual recovery. |
| Replacement submission with a lost acknowledgement and only an echoed replacement number | Without a recorded provider identity or matching native/order identity, intake cannot correlate; the echoed number alone does not identify the stored order | Inspect provider records, verify the recorded parcel and reconcile confirmed acceptance through the authorized host recovery path; never blindly resubmit. |
| Automatic replacement dispatch for a fulfilled parent order | Creation may succeed, but native dispatch requires a paid or fulfillment_pending parent and a created or label_pending parcel |
Resolve through an authorized host fulfillment workflow; the native worker does not rewrite the parent status. |
| Native label creation | label_create_unsupported |
Bind a separately authorized host label workflow. |
| Native label void | label_void_unsupported |
Bind a separately authorized host cleanup workflow. |
| Reference-adapter label reads | unsupported in phase dispatch; labels remain host-owned |
Store label documents privately and bind an authorized host reader. |
| Courier pickup execution | No provider-reaching pickup port; declared support fails full certification with capability_not_certifiable |
Arrange pickup through the provider operator path and declare the capability unsupported. |
| Provider-side cancellation | provider_cancel_unsupported |
Local cancellation retains its dispatch fences; use the provider's operator path for remote action. |
| Label MIME format other than PDF | label_format_unsupported |
Use application/pdf; label return types remain unchanged. |
| Nullable carrier/service in saved customer preferences | Required string validation; carrier_service_required for merchant-selected dispatch |
Use explicit provider-selected native parcel transport; saved preferences cannot store null transport. |
| Delivered observation without an admitted tracking reference | Status evidence can be retained and an eligible hold healed, but no arrival or alignment is written | Record actual arrival through an authorized operator tracking command, or reconcile a later observation containing an admitted reference; see intake. |
| Cursor-based provider pagination | The page port accepts sequential page numbers, not opaque cursors | Translate cursors inside the adapter; compose the existing reconciliation job. |
| Webhook intake for a polling-only provider | unsupported in phase verify |
Schedule reconciliation through the declared page port instead; see intake. |
| Infer provider absence from an empty collection | Missing matches remain unknown with local_missing; the reference adapter declares no authoritative exact-absence capability |
Inspect provider records through an authorized operator path; retain uncertainty until verified evidence can be reconciled. |
| Automatically heal human holds, terminal provider exceptions or evidence without usable chronology | Only a proven machine exception hold with newer eligible evidence can heal automatically | Review and resolve the hold through authorized host operations; intake preserves those boundaries. |
| Native commerce reads without recorded destination or line snapshots | native_fulfillment_destination_unavailable or native_fulfillment_line_snapshot_unavailable |
Inspect the recorded order and destination through authorized host operations; do not infer missing historical facts. See operator reads. |
| Replaying incomplete webhook tracking after polling enriched its transport metadata | Retained nullable carrier/service values can replace the polling-enriched reference values | Supply consistent admitted transport evidence or normalize it in the adapter; inspect and reconcile the reference through authorized host operations. Arrival and stock receipts retain their own replay fences. |
Offline fulfilment adapter certification uses honestly built data fixtures and rejects missing, malformed or contradictory fixtures and contract-violating adapter results. Deliberate use of accessors, proxies or overridden intrinsics to defeat the caller's own certification is outside the threat model. Snapshots, closed schemas and captured intrinsics reduce accidental misuse; they are not an attestation. See offline adapter certification.
Pure contract limits
Core's catalogue identifier schemas validate bounded shapes. They do not prove that a product, SKU, variant or slug exists; your catalogue reader owns membership and current product facts.
Core's ./catalog quantity helpers use decimal strings and BigInt, with the
closed dimensions mass | volume | count. parseCatalogQuantity validates
positive coefficients (at most 52 digits) and scales 0–12.
canonicalizeCatalogQuantity, compareCatalogQuantities and
convertCatalogQuantity use declared exact factors. Built-in codes are
openlup:g, openlup:kg, openlup:ml, openlup:l and openlup:piece;
the canonical units are grams, millilitres and pieces. Custom units declare a
positive decimal multiplier to the matching canonical unit. They cannot change
a built-in factor. The helpers never infer mass from another dimension.
Canonical values must fit numeric(52,12) exactly: at most 40 integer digits
and 12 fractional digits after removing trailing zeroes. Inexact conversions
refuse with quantity_not_exactly_representable, never round. Unknown units,
cross-dimension conversions, fractional counts, malformed values and overflow
have separate CatalogQuantityError.code values. Converted values must also
fit the decimal-string boundary. This arithmetic performs no stock operation,
agreement edit, publication or database installation.
calculateInventoryAtp evaluates supplied stock, reservations, unavailable
quantities, safety stock and lot facts. It selects a location when the request
can be fulfilled there and can return review-required or unsupported results.
It neither reads stock nor reserves it. Its no-split policy refuses split
shipment requests with split_shipment_unsupported.
Company-identity contracts describe lookup requests, per-source outcomes and verification levels. Your host selects identifier kinds, supplies the lookup adapter and decides whether its trust level meets the purpose. Schema validation queries no registry and approves no seller.
StandardSchemaV1 is a structural schema interface that keeps browser consumers
independent of a validation-library runtime. The selected schema and its
consumer still own validation behavior.
Risk evaluation matches supplied signals against deterministic rules and returns score, severity, reasons and mode-dependent enforcement facts. Your host selects shadow, review or enforcement policy; a result alone authorizes no order or payment.
Store composition
Starting the starter host without a runtime database connection leaves its native actions unbound. Its lifecycle supplies that connection for the local demonstration database; configuration health alone does not establish live operations. The local image quickstart does not establish rollback after a schema or package upgrade. Follow the database upgrade procedure for that boundary.
The 0.42.0 source composition supplies an explicitly selected card provider payment rail on portable PostgreSQL. The default starter still selects sandbox payments. The second reference provider has no supplied portable composition. Self-hosting and provider integrations require application composition: compose the host and bind a provider adapter. Adapter source does not activate an integration or certify a live provider account.
Native account reads need explicit host sources. See account composition for missing-section refusals, newsletter consent, historical order money and paid orders awaiting subscription activation.
Starter refusal responses
The app’s /limits and /ograniczenia pages and unavailable-action buttons use the
canonical limits table.
A visible refusal button displays the code and explanation locally; it does not submit an operation.
API refusals return an object such as {"ok":false,"code":"host_binding_required"}.
Unknown operations return HTTP 404; other action refusals normally return HTTP 409 unless the handler supplies another status.
Codes beginning starter_ identify application limits, rather than additional exported package errors.
In the tables, “—” means the boundary has no dedicated refusal code.
Catalogue and runtime limits
| Action | What happens | Refusal code |
|---|---|---|
| Edit live products, SKUs, price lists, price entries or promotions directly in the operator UI | Direct writes are unavailable. Bundle and catalogue drafts have separate operator editors. On the marked demo, use the catalogue activation workflow for authored products or the price review workflow for eligible live base prices. | starter_promotion_write_unavailable for promotion writes |
| Enter checkout promotion codes | Nonempty promotion-code input is rejected. | starter_promotion_codes_unsupported |
| Publish a catalogue draft from the operator UI | The button displays a local refusal. Use the operator API to prepare, approve and publish a saved version 3 draft. | starter_catalog_publication_unavailable |
| Evaluate a promotion with line targeting | line_with_variant and line_with_category are stored. The Core promotion evaluator calculates each kind as order_total. |
— |
| Purchase an activated bundle | Activation does not make a bundle available to this storefront or checkout. | —; no purchase control |
| Start a fresh governed purchase after catalogue activation | Published SKUs can list and quote when eligible. Fresh checkout still requires governed purchase authority, which the starter does not enable. | catalog_admission_quote_authority_required |
| List a published SKU without one-time sellability | The starter lists only SKUs sellable for one-time purchase. Enable that mode through the catalogue workflow, then reread the SKU. | starter_catalogue_one_time_required |
| Use lot traceability, locations or stock movements | The starter supplies none of these inventory facilities. The limits-page action refuses. | starter_inventory_traceability_unavailable |
| Run the starter against a hosted database | The supplied installation is a local demonstration database recipe. It provides no hosted-database setup. | —; no hosted installation recipe |
| Seed without the installed bootstrap | Seeding stops before application startup. | starter_installation_binding_required |
| Seed through a runtime login or role | Seeding stops rather than writing through the runtime identity. | starter_seed_runtime_role_forbidden |
| Seed through a different install identity | Both the login and current role must match the install identity. | starter_seed_install_role_required |
| Seed an unmarked database | The demonstration marker is required; the bootstrap also refuses a pre-existing unmarked database. | starter_seed_demonstration_database_required |
| Keep demonstration sessions across a restart | Sessions live in the current process, have a bounded lifetime and disappear on restart. Issuance stops when the session store is full. | starter_session_capacity_exceeded at capacity |
| Call an unbound operation | A missing host binding refuses. Customer and operator admission may refuse first. | host_binding_required; customer_session_required or operator_required before admission |
Product type taxClass is checked for an active class at publication; the catalogue applies no rate.
Sessions and private captures
Demonstration sessions have a one-hour lifetime and a capacity of 1,000 in the
current process; restarting loses them. Issuance at capacity refuses with
starter_session_capacity_exceeded.
The private developer mailbox uses git-ignored .context storage, with 0700
directories and 0600 files. Tokens, recovery URLs and recipient email addresses
require private filesystem access. Keep them out of application logs and
recovery responses. A local capture is not evidence of external delivery.
Shipment projection limits
Starter shipment list/detail reads use one repeatable-read, read-only snapshot after native human-admin authorization on each request. Unknown fields and invalid selectors refuse before shipment I/O. Reading a destination never prepares or pins a shipment; a pinned parcel retains its destination when the order's current destination changes.
This reduced projection keeps the captured fulfillment client ID, parcel-line IDs and saved-address ID null. Provider kind and tracking number come from the same parcel-correlated reference; historical unknown namespaces remain null. Item reservation links are empty and reservation locations null. It supplies no contact revision, digest, correction target or baseline comparison. Missing required facts refuse rather than omit a selected shipment. Bind the separate native operator reader when those recorded facts are needed.
Subscription editors
| Action | What happens | Refusal code |
|---|---|---|
| Resize from demand, plan length or portion | Demand-driven resizing is unconfigured. Ordinary classic plan and sized cadence choices preserve explicit quantities. | starter_subscription_resize_unconfigured |
| Swap items, edit individual extras or change a fixed-total base mix | Use the customer-session API; the portal has no buttons for these edits. | —; no portal controls |
| Start a size-aware purchase | New purchases start classic. Size-aware servicing requires a reviewed and explicitly accepted opt-in. The visible acquisition action refuses. | starter_sized_acquisition_unavailable |
| Require a publication-version or offer-membership fence for sized edits | Apply checks current active and subscription-sellable state, but does not serialize catalogue publication or enforce those publication fences. The visible fence action refuses. | starter_sized_publication_fence_unavailable |
| Edit a subscription without base lines or a price context | The editor reports a blocked template; it does not invent a fallback. | starter_subscription_template_unavailable |
| Opt in to sized servicing during a fixed introductory phase | The edit is rejected until the introductory restrictions allow it. | subscription_edit_invalid_intro_fixed |
Captured sized-renewal receipts include a parcel note only when frozen quantities, physical sizes and cadence are provable and the subscription is still sized when sent. Classic, acquisition and unprovable parcels omit it.
Partner intake and reviews
| Action | What happens | Refusal code |
|---|---|---|
| Use a generic contact form | Support is static, with an optional configured contact address and account link. Partner inquiry is the durable intake form. | —; no generic contact form |
| Submit or read a review without its order-review grant | An account session alone does not authorize the review. | access_grant_unavailable for a missing grant; invalid grants return the native review reason |
| Upload review media | The visible action refuses; a storage binding is required. | host_binding_required |
| Submit research or import normalized orders | Research-case authority and a complete trusted order-import binding are absent. Import admission requires an operator first. There is no real marketplace connector. | host_binding_required |
| Use intake behind a proxy as if each visitor had a separate requester quota | The host hashes its socket peer and ignores forwarding headers, so visitors behind a proxy share that requester identity. A host behind a trusted proxy can pass requesterKey to composeNativeBindings: a function that returns a lowercase 64-hex SHA-256 digest of the verified client, or undefined. A value that is not a function is refused at composition; a returned value that is not such a digest makes every request answer 503 starter_dependency_unavailable, and the host logs OPENLUP_E_STARTER_REQUESTER_KEY_INVALID to stderr. |
—; shared requester quota |
| Treat partner inquiry as consent, conversion or a privacy workflow | Inquiry submission does not grant marketing consent or convert a customer. Partner privacy export/erasure is not supplied. | —; intake only |
| Run risk screening | Risk is disabled; the visible action refuses. | starter_risk_disabled |
Configured support appears as plain text with an account link; missing contact configuration is stated explicitly. Partner submission, operator list/transition and review read/submit/list/moderation need the runtime database connection.
Intake permits five requester attempts and three email attempts per 60-minute rolling window. Replay is checked before quotas. Repeated contact submissions conflict without a time-based deduplication expiry. Public success exposes only a case reference; contact details require the authorized operator view.
The tester application is a durable public submission of an address choice,
email, explicit consent and locale. It accepts no name or raw source/reference/
revision/provenance fields, and exposes only a case reference. There is no
operator acquisition endpoint. Reinstalling a changed or inactive demonstration
address tuple returns starter_acquisition_seed_conflict and rolls back.
Purchase composition boundaries
| Action | What happens | Refusal code |
|---|---|---|
| Take real payments, set up a payment method or replace a card in the starter | The starter binds sandbox attempts only. The native provider store and method-setup lane require a complete installed database catalogue and explicit host composition; installing them does not enable these starter actions. | native_prepared_attempt_store_unsupported |
| Use native cumulative refunds or absence reopening | These installed native capabilities are supported with the complete catalogue and explicit host/provider composition. Absence auto-reopen stays off by default. The starter remains sandbox-only; refund creation and live-provider activation are separate. Refund evidence does not cancel subscription service. | —; host composition required |
| Add another native payment provider | The native rail supports the two reference payment providers through declarative provider profiles. A third provider needs a profile declaration plus its adapter. The supplied portable composition selects card provider only. | —; follow-up required |
| Use an email address alone to access an existing purchase | Guest checkout is available, but existing-order access needs an owned customer session or an admitted recovery link. A recovery link grants no account or subscription-command access. | customer_session_required for account actions; starter_recovery_unavailable for unavailable recovery authority |
| Change the address of a parcel already in flight through the customer action | The destination change applies from the next parcel; the parcel in flight keeps its address. | —; result applied_from_next_parcel |
A new checkout issues a random recovery token; only its SHA-256 hash is stored in the database. The creating response and private recovery message carry it, never an authentication challenge or event. Creation, reminder-wave and signed-in recovery links have a bounded lifetime from order creation and preserve earlier links. Expiry-notice links use a longer bounded lifetime and refer to the terminal source. Operator issuance revokes earlier order links and caps expiry by both issuance time and the order’s recovery window. Payment prevents further payment through every link. Payment-case links rotate separately, keeping the live link unique within its case.
Completion removes the URL token before fetching configuration or rendering. Requests carry it in the body; tab memory and session storage support reloads without granting authority. An unchanged repeated submit keeps its token when the response omits it. A different order never inherits it. Saving a new token in a tab does not revoke other links.
A live pending-order link can continue sandbox payment after a decline. Eligible expired initial checkouts, including system-abandoned ones, can create a fresh order within the source’s bounded recovery window. Frozen re-quoting, unchanged supported content, stock and proven prior non-settlement are required. The terminal source is never paid. Token pay or exact-cookie retry can act on the same pending replacement; the ordinary simulator cannot start an attempt on that replacement. Paid presentation takes priority over any stored attempt.
Guest purchase needs no account. Checkout retains the email contact; sign in
with that email to view the purchase through an owned session. A customer
address result of applied confirms an update; applied_from_next_parcel
means an in-flight parcel keeps its current destination.
Subscription mode price
| Action | What happens | Refusal code |
|---|---|---|
| Quote subscription acquisition without a private acceptance key | The host refuses a subscription quote that needs signed acceptance. One-time checkout remains available. | starter_quote_acceptance_key_required |
| Reuse a subscription quote after acceptance-key rotation or changed terms | Refresh the quote and accept its current terms. | starter_quote_refresh_required |
| Reseed a changed price under an existing identity, retain a divergent subscription seed row, or keep another active, open or pending explicit subscription row on the demo list | The installation rolls back. Restore the original owned price, discount and rounding inputs if you edited them after seeding. Ask the pricing owner to reconcile divergent rows, close other active or open explicit rows, or withdraw pending rows while preserving price history. You can also rebuild a disposable demo. See ./lifecycle up --json or ./lifecycle refusals for the remedy. |
starter_price_seed_conflict |
| Exceed checkout attempt limits, or reuse a command key that is not a version 4 UUID with a different contact/requester | Admission stops before contact resolution. Default quotas persist in PostgreSQL across restarts. Command-identity bindings remain process-local and reset on restart. A repeat that completes an interrupted creation passes the same first-attempt limiter and requester binding, so it can also answer this code; a limited repeat of a completed order returns the order without a token instead. | starter_attempt_limited |
Repeat checkout.create under a version 4 UUID key with changed details or another email |
Nothing changes. The repeat is metered; resume pays the order as submitted, abandon cancels it so a new key can submit the new details. The managed checkout page raises this code itself, sending nothing, and shows it in a panel that offers both choices. |
starter_checkout_changed |
| Repeat changed details under the key of a paid order, or abandon a paid order | Nothing is created or cancelled. A new purchase needs a new key; the managed checkout page offers "Start a different purchase". | starter_checkout_paid |
| Repeat or continue the key of a cancelled, expired or closed order | Check the recovery link for this order before starting a new key. The managed checkout page keeps the key and offers "Start a different purchase". | starter_checkout_not_payable |
| Submit on the managed checkout page while tab storage refuses the write that records the create's dispatch time | Observed: nothing is sent. Cause: the browser refused the write after the page loaded. Fix: the page moves the purchase to page memory under the same key; submit again without reloading, or choose "Start a new action". | starter_checkout_storage_unavailable |
| Send a fresh create that obtains its key lock more than 15 seconds after the host received it | No order, contact or attempt is written. Send the same request again under the same key. | starter_checkout_request_stale |
resume a key with no order |
Submit the order; start a new key only after the finality wait. Before that wait, an abandon on the managed checkout page shows starter_checkout_in_progress instead and keeps the key. |
starter_checkout_not_found |
resume an order whose creation has not finished, or abandon it within a minute of its creation |
Send checkout.create again with the same details under the same key to complete the creation. Otherwise try again shortly, or abandon it to start over once the creation has been stalled for a minute. The managed checkout page also raises this code itself when an earlier create may still be running: wait and choose again, or submit the original details. |
starter_checkout_in_progress |
abandon an unpaid order with a payment attempt ever made, an external reference, or a payment in flight |
The order is not cancelled. resume and follow its status. The managed checkout page also offers "Start a different purchase": the next submit uses a new key and places a new order, while the earlier order stays open until the store settles it and a payment already started for it may still complete. |
starter_checkout_not_abandonable |
Repeat or resume an unpaid order older than its 24-hour recovery link lifetime |
Observed: no token is issued and the order stays unpaid. Cause: new continuation links end with the order's 24-hour link lifetime, and an order with a payment attempt cannot be abandoned. Fix: if no payment attempt was made, abandon it, then start a new key. Otherwise the order has a payment attempt that the store must settle. Do not start a new key. Ask the store to check the payment and cancel the order (operator.cancelUnpaid). The store can cancel only once no payment is in flight; until then the order may still be paid, and the cancel answers starter_order_transition_conflict. After the store cancels, this key answers starter_checkout_not_payable, and a new key works, including for the same first subscription. While the unpaid draft exists, a new first subscription for the same contact answers starter_command_conflict. A client that owns its checkout page follows this. The managed checkout page instead offers the buyer "Start a different purchase", which states that the earlier order stays open and a started payment may still complete. Recheck: after the store cancels, the key answers starter_checkout_not_payable, and a create under a new key returns a new order. |
starter_checkout_expired |
abandon an unpaid order when nothing could be cancelled |
Observed: nothing was cancelled. Cause: the inventory admission gate was busy with another release, the order's subscription link changed while it was being cancelled, or the platform forward 20261128230001_checkout_abandonment_safety_execute_grant.sql is not applied. Fix: repeat the abandon; if it persists, apply that forward and restart the host. Recheck: abandon answers { abandoned: true }. |
starter_purchase_unavailable |
| Open the managed checkout page in a browser that blocks tab storage | Observed: a tab-storage notice on the checkout page. Cause: tab storage is blocked or full, so a reload or changed details cannot reach the earlier order. Fix: allow site storage (leave private browsing, free space) or finish without reloading; a retry without a reload still reaches the same order. Recheck: after a reload the notice is gone and the checkout form has no "Start a new action" button. | starter_storage_unavailable |
| Continue the earlier order on the managed checkout page after signing in or out | Observed: the panel cannot reach the earlier order, which is unchanged. If the host answered with an order of the current sign-in state, the page shows that order: a create may have placed it, and an abandon may have cancelled it. Cause: the key is derived from the principal, and the earlier order was created in another sign-in state. Fix: sign in or out as when it was placed, then choose again. Recheck: "Complete payment for the earlier order" returns that order. | starter_checkout_session_changed |
| Sign in or out between a guest create and its retry | The key is derived from the principal, so the retry finds no order and creates a second one. Resolve the purchase first. | —; key bound to the principal |
| Submit an invalid or overlong purchase email | The configured input bound is checked before contact resolution. | starter_email_invalid |
| Treat demonstration market inputs as real tax or compliance certification | The starter uses fictional market and test-currency inputs. Subscription quotes use the installed pricing and acquisition rules; demonstration prices are not a real-market certification. | —; demonstration inputs only |
Catalogue estimates apply the configured subscription rate and rounding quantum
to each unit before quantity. mode_discount explains an included benefit;
it is not another order-level deduction. Installed quote and acquisition rules
own checkout totals and first-subscription terms. The first-subscription offer
is available through that quote/acceptance flow.
An identical price seed adds no entries; customer environments need their own onboarding and acceptance keyring. Recreating the demonstration container rotates its key, so unsubmitted subscription quotes must refresh. Restarting the same container preserves the key.
Each repeat under an existing checkout key, and each checkout.continuation
call for a known key, adds one attempt row. It counts in a separate requester
bucket, so repeats behind one proxy cannot refuse fresh creates, and against
maxPerEmail for that one key, never for the buyer's email. A replaced quota
callback receives these calls with the idempotency key
<derived key>:replay:<uuid> and the contact replay:<derived key>, which is
not an address. A fresh create passes the derived key, checkout:<64 hex>,
never the header value. A callback that throws refuses the repeat (fail closed), and
the order is still returned without a token. Repeat rows count toward the
shared ledger capacity (maxEntries) like fresh attempts. Changed identity under a retained
key refuses before contact resolution, even with a replaced quota callback.
Capacity exhaustion fails closed; denied attempts add no quota count. Default
quotas persist in PostgreSQL; command-identity bindings reset on process
restart. Unpurchased-contact retention remains the application owner's duty.
Purchase and sign-in share purchase.inputLimits.email, capped at 160 characters;
both demonstrations use 160. Phone and postal-code fields share the native
destination bounds. subscriptionOffers owns cadences, defaults and per-SKU
quantities; offer.cadenceDays is a derived UI projection. Configured days must
be whole numbers from 1 through 3660 (MAX_CADENCE_DAYS). Invalid offer domains
refuse with starter_subscription_offer_invalid, except values above the
representation bounds, which use the named codes listed above; invalid projected choices
refuse with starter_offer_invalid. Checkout admits at most 50 selected lines and
99 units per line within the configured total. Stock and unit prices fit
PostgreSQL integers, with positive prices for every offered mode. Tax legal-basis
text is at most 200 characters; the shared legal revision is trimmed, nonempty
and at most 64 characters. Configuration outside these bounds refuses before
startup.
Paid-order message capture
| Action | What happens | Refusal code |
|---|---|---|
| Deliver paid-order receipts to real recipients | Messages are captured privately on the local filesystem. A captured receipt does not establish email delivery. Subscription notices use their own local capture. | —; no real email transport |
| Use paid-order mail capture as a general event dispatcher | That dispatcher selects paid-order mail only. A settlement event can remain pending independently. | —; other events are not dispatched by this worker |
A paid order with an emitted paid-mail event and contact produces a deduplicated private message record; unpaid and cancelled orders emit no such event. Reclaimed sends deduplicate. Running the one-shot renewal command also drains paid mail when renewal execution is disabled. A pending settlement event neither creates a message record nor blocks the paid receipt.
Subscription care
| Action | What happens | Refusal code |
|---|---|---|
| Collect retention consent in the portal | No retention-consent capture is provided. Newsletter preferences do not grant retention consent; scheduled winback uses the native retention gate. | —; no consent capture control |
| Use signed unsubscribe or a legacy participant unsubscribe source | Signed unsubscribe is unbound. The legacy action has no participant source and refuses locally. | host_binding_required for signed unsubscribe; native_legacy_tester_source_unavailable for the legacy action |
Skip, slide, pause, resume, cancellation/save offers, order-now and reactivation use trusted host timing. Browser data cannot establish charge eligibility. Pause and cancel remain available with an open payment case, subject to the in-flight fence. Winback retains the native default-on retention gate. The portal shows native refusals and recorded delivery outcomes; no generic edit verbs are mounted. A trusted host can record retention consent through the native routine, while the portal supplies no consent-capture control.
Account and operator bindings
| Action | What happens | Refusal code |
|---|---|---|
| Correct a subscription customer’s email/phone or link an account as an operator | The visible operator identity-correction actions refuse. Customer self-service name/phone editing is separate. | operator_subscription_authority_unavailable |
| Add an order note or correct the order address | These visible actions refuse. Selecting a subscription destination is separate. | starter_order_correction_unavailable |
| Open private-profile or combined profile views | These visible actions refuse. Saved addresses, billing profiles and scoped preferences are separate. | starter_account_preferences_unavailable |
| Read a full account projection | The reduced account response includes a refusal in fullProjection; it does not supply the complete projection. |
starter_account_projection_binding_required |
| Read historical order detail without captured money | The reader refuses missing or mismatched money rather than reconstructing it. | native_account_order_money_unavailable or native_account_order_money_mismatch |
| Use rich order-management reports, analytics, document guidance or saved account draft resume | Only reduced order-management reads are provided; the visible actions refuse. | starter_rich_oms_unavailable |
| Sign in through an external identity provider | The visible provider sign-in action refuses; the separate email-challenge flow does not enable it. | oauth_not_supported |
| Grant newsletter consent or manage another consent purpose through account preferences | The account endpoint allows newsletter read/withdraw only. | host_binding_required |
| Request an invoice correction | This appends a request, without a fiscal correction, refund, notification or operator case workflow. Repeated keys are not deduplicated. | —; request recording only |
Replacement creation, complete fulfillment cancellation and customer name/phone editing are available through native bindings. Account-event history excludes private payloads. Creating a replacement supplies no arrival confirmation. Customer invoice history and owned captured-PDF downloads use the native session principal. Operator invoice summaries authorize before reading local history, duty, retry and delivery evidence, including for guest orders.
Expired checkout recovery and order holds
| Action | What happens | Refusal code |
|---|---|---|
| Install a changed reminder schedule during an open reminder episode | The refusal counts pending-payment orders with blocking waves and no pin for that reminder kind. See the reminder installation guide for the checkout and cart conditions and when to retry. | checkout_recovery_schedule_change_blocked_open_episodes |
| Run a cart reminder job under a separate database role without the episode helper grant | The job stops before enqueueing. As the database owner, run the GRANT EXECUTE statement in the error hint for that role, then retry. |
checkout_recovery_cart_runtime_grant_required |
| Send a later checkout-recovery stage after a wave was compacted | With a schedule installed, the compacted wave consumes both stages and the later stage is skipped. Without a schedule row, historical hours identify the stage. Abandoned-cart stages keep their event types after compaction. | — |
Change the installed schedule or run a reminder producer at REPEATABLE READ or SERIALIZABLE |
Use READ COMMITTED for these operations. Identical schedule replay works at any isolation level. |
checkout_recovery_schedule_isolation_unsupported |
| Pay a paid, manually cancelled or revoked checkout through recovery | No new payment can start. Expired source orders must qualify for recreation as a fresh order; the source itself is not paid. | starter_recovery_paid for an already-paid target; starter_recovery_unavailable for unavailable authority |
| Recreate after commercial changes, unsupported content, unavailable stock or uncertain prior settlement | Recreation must pass frozen re-quote, content, stock and prior non-settlement checks before replacement payment. | starter_recovery_order_changed or starter_recovery_unavailable |
| Recreate without the original private checkout capture | A missing, corrupt or erased original email capture refuses before a new quote or payment; current profile data cannot replace it. | starter_recovery_unavailable |
| Place or release an order hold without human-admin authority and a provisioned commerce operator | Both checks repeat for every command, including replay. | operator_required |
| Select a saved subscription address while the upcoming cycle is locked | A fresh selection refuses; existing order and parcel destinations stay unchanged. | starter_payment_blocked |
Eligible expired orders retain a shared Pay action. Draft, lineage and attempt receipts keep replay on the unique replacement and its attempt. Reloading a dispatched replacement reads that attempt independently of the source link's continuation lifetime. Simulator controls require the inspected bearer/lineage/receipt and disappear after capture.
Recovery uses the email from the original immutable private checkout capture, not a current account email or later profile edit. Deleting that capture makes recreation refuse; later notices cannot reconstruct it. Captures are personal data. The application owner must provide mailbox access, retention and deletion; the starter supplies no mailbox export/erasure procedure. Private captures stay outside served assets, logs, traces and public reports.
Distributors and administrators without the provisioned Commerce row cannot
issue or replay holds. Release targets the exact hold reference. A locked
upcoming cycle returns starter_payment_blocked for
address changes; existing order and parcel destinations remain unchanged.
Unpaid cancellation and manual refund records
| Action | What happens | Refusal code |
|---|---|---|
| Cancel an unpaid order without confirmation or with incompatible payment/order state | Confirmation and a valid reason are required. Payment uncertainty or a conflicting state can refuse cancellation. This does not cancel a subscription or dispatched parcel. | starter_input_invalid or starter_order_transition_conflict |
| Use manual refund marking to move money | The operator records a refund already completed outside the app. This does not send money, issue a fiscal reversal, send a refund email or change a subscription. | —; external refund record only |
Read the exact order, enter a bounded nonempty trimmed reason and confirm the shown consequence. Unpaid cancellation releases only held purchase reservations; dispatched, indeterminate or captured payment evidence can refuse it. Each command and replay rechecks human-admin authority and its Commerce operator. Caller identity, missing confirmation, invalid reason, stale state and conflicting commands refuse; native receipts retain replay identity.
Return requests and decisions
| Action | What happens | Refusal code |
|---|---|---|
| Request a return without an owned eligible order and valid quantities/reason | Customer admission and native return validation apply. Approval/rejection records refund intent only. | customer_session_required, starter_input_invalid or starter_return_refused |
| Open an operator returns list or detail | No reader is mounted. An authorized operator approves or rejects using the exact request reference received by the customer. | starter_operation_unknown with HTTP 404 for operator.returns |
| Receive returned goods | The visible action refuses; a return decision does not receive goods. | starter_return_receive_unavailable |
| Restock a return | The visible action refuses; a return decision does not restock. | starter_return_restock_unavailable |
| Execute a monetary return refund | The visible action refuses; full, partial and no-refund decisions record intent only. | starter_monetary_refund_unavailable |
A customer requests configured reason codes and positive item quantities from their own paid or fulfilled order and keeps the returned reference. Full, partial and no-refund decisions record intent; partial requires an explicit nonnegative amount. A repeated decision retains its original note. Every decision and replay rechecks the Commerce operator after fresh membership admission. No decision changes a subscription.
Optional payment guidance
| Action | What happens | Refusal code |
|---|---|---|
| Infer a real method, instrument or provider advice from a sandbox decline | Guidance can identify a verified generic decline only. Missing or unusable guidance leaves the existing completion presentation unchanged; this read creates no payment or credential. | —; optional guidance may be absent |
The atomic guidance snapshot binds the exact order bearer, client, intent and current attempt. Sandbox evidence does not identify an instrument, operation or consecutive same-method refusal count. Synthetic choices use the explicit sandbox registry. Missing or unsupported evidence, ineligible orders, indeterminate attempts, observed success and read failures preserve the existing presentation. No raw evidence or attempt history reaches the browser; this read creates no notification or mutation.
Operator shipment evidence
| Action | What happens | Refusal code |
|---|---|---|
| Look up public tracking | The operation refuses even though authorized operator shipment reads and evidence commands are available. | starter_tracking_access_unavailable |
| Confirm an undelivered replacement as delivered | There is no separate replacement-arrival confirmation control. An undelivered replacement remains outstanding; a delivered tracking event must record actual arrival. | —; no separate attestation control |
| Hand off a historical parcel without recorded reservation associations | No current stock is acquired as a substitute; inspect the handoff result. | —; result reservationDisposition: "reservations_not_recorded" |
| Correct a historical order with no usable recorded delivery contact | An authorized operator must review the recorded destination and resolve the missing source through its owning manual process; reads and refused corrections write nothing. Contact correction. | fulfillment_contact_not_recorded |
| Correct a contact after erasure | Retained payload-free markers prevent response replay or personal-data restoration. | fulfillment_contact_erased |
| Automatically purge stored label URLs and raw shipment payloads | No automatic retention cleanup is supplied. The application owner must control retention and authorized cleanup, including copies and backups. URL expiry does not delete stored evidence. | —; owner-managed cleanup |
Read the exact parcel and confirm each label, handoff or tracking action. Every command and replay requires a fresh active human administrator; body-supplied identities and command keys refuse. Labels require a provider namespace and tracking number. Reusing a tracking identity across orders in the same namespace or encountering unattributed conflicting history refuses. Same-order reassignment and raw label-key replay keep their native receipt behavior.
Handoff consumes the recorded parcel reservations once. Before a fresh nonterminal tracking event, parcel state and any supplied same-order reference must be admitted. Terminal replay and earlier chronology repair keep their native rules. Delivered evidence records actual arrival; explicit-zone occurrence times can repair it earlier. Later inputs cannot postpone arrival, replace the original receipt or move the next subscription cycle earlier.
Authorized operator detail can show label URLs. Full label requests and tracking payloads stay private; customer/account/public-tracking views do not expose them.
Saved addresses and scoped preferences
| Action | What happens | Refusal code |
|---|---|---|
| Delete a saved address used by an active or paused subscription | Deletion refuses while the subscription uses the address. | starter_address_in_use |
| Assume a failed address or billing-profile save rolled back everything | Default clearing, saving and account-event append are separate writes. Reload before retrying. Billing command keys do not deduplicate writes or events. | —; partial writes can remain |
| Use a saved preference as a payment instrument or provider activation | Payment and delivery selections are scoped preferences only. They do not install an instrument, activate a provider or charge. | —; preference storage only |
| Export or erase all customer data through the starter | There is no HTTP export/erasure workflow. Application owners must complete privacy coverage and own access, retention and cleanup of saved data and private captures. | —; no export/erasure endpoint |
The account page can read, create, edit and delete owned saved addresses. Address command replay returns the current book without another write. Deleting a missing or foreign row acknowledges absence without deletion and returns only the caller's book; editing a foreign row refuses.
An active or paused subscription can select an owned shipping/both address. An admitted key replays before saved-ID parsing and returns the current pointer. Null recipients stay null. Editing the saved row affects future materialization; retained renewal operations and existing parcels keep immutable destinations. The selection changes neither cadence, commercial terms nor billing.
Payment/delivery preferences use one-time, subscription or any scope. They append no account events. Renewal chooses subscription scope before any scope and keeps an explicit delivery choice. Incomplete locker pickup addresses can be saved but are skipped during renewal delivery selection.
Billing profile create/read/edit/delete includes company identity fields and owned tax normalization/checksum validation. Foreign edits refuse; deleting a foreign or missing profile acknowledges absence without deletion. Address-book responses include owned billing profiles. Default snapshots are redacted, unapplied hints: they install no instrument or profile on an existing order.
Sandbox token payment and exact continuation
| Action | What happens | Refusal code |
|---|---|---|
| Use inline retry without the exact continuation cookie | A recovery bearer token or body identity cannot replace the cookie. An unregistered sandbox attempt has no inferred method identity for inline retry. | starter_continuation_required for missing or mismatched claims |
| Keep cookie-authorized controls after signing-key loss or rotation | Missing signing material leaves those controls unavailable; rotation invalidates old cookies. Keep the private acceptance-key root stable across restarts. | starter_continuation_required for inline retry without valid claims |
| Treat the embedded-browser send-link confirmation as delivery or payment | The cookie-authorized control captures a link in the private mailbox. Sending/enqueueing, local capture and payment are separate outcomes. | —; local capture only |
Dedicated token pay accepts registered synthetic choices on a live checkout continuation. Admission reuses the latest owned descendant, intent and reservation and refuses expired/revoked authority, renewals, terminal orders and unresolved attempts. A later explicit retry can dispatch on that same replacement.
Only a fresh dispatched sandbox attempt mints continuation; checkout creation does not. Private claims bind the real order, client, intent, attempt and rail. The cookie is Secure, HttpOnly, SameSite=Strict with Path=/ and its bounded native lifetime. Keep raw cookies, tokens and keys out of logs and public reports. An exact failed predecessor and admitted guidance require a stable retry nonce. Competing nonces, current-attempt checks and replay use atomic admission. Response-loss replay returns the one dispatched replacement without another dispatch and rotates its cookie. Captured, terminal, expired or stale targets refuse before simulator effects. A still-live token can use dedicated pay when an unregistered attempt cannot authorize inline retry. No method-hold policy is configured; real execution, method setup and card replacement remain unavailable.
The send/send-again buyer control appears only in detected embedded browsers after continuation exists. Detection grants no authority. Verified cookie claims select order/client and the saved checkout recipient; sends deduplicate within a bounded window. Sent confirmation survives remounting, sending again stays reachable and failures offer retry. Sending, private capture and payment remain separate.
Billing profiles and frozen invoice buyers
| Action | What happens | Refusal code |
|---|---|---|
| Use captured invoices as fiscal documents | Invoice history and downloads are sandbox artifacts. | —; non-fiscal documents |
| Change an already captured invoice buyer by editing a profile/address | Buyer facts are frozen when the first invoice obligation is created. Later profile/address changes do not rewrite them; historical obligations are not backfilled. | —; immutable captured buyer |
On first invoice duty, explicit order buyer facts take precedence. Otherwise the default or latest owned profile and billing/both address are selected independently, with recorded shipping as the address fallback. Without either, the buyer uses a marked shipping fallback. The snapshot keeps line2 and source provenance. Recreation copies explicit buyer facts only when present; absent facts stay absent for first-duty selection. Later edits or deletion cannot change captured buyers, installed invoice facts or issued bytes. Customer invoice history checks ownership; operator summary requires a current human administrator.
Capture and subscription activation commit separately. An outage between them is not an atomic purchase/activation guarantee. Privacy contributors cover billing, addresses, preferences and parcel contacts; application owners still supply identity/subscription coverage, account-event retention and authorized private-capture cleanup.
Provider intake history
| Historical or incomplete evidence | Native result and manual path |
|---|---|
| No recorded dispatch association, including an unrecorded suffixed merchant reference | Webhook ignored/local_missing; polling missing_correlation. Record an authorized association before retrying; no inferred parcel. |
| Exact dispatch with external reference absent on both sides | Webhook remains unfinished with a missing-reference error; polling missing_external_ref. Restore actual accepted evidence through authorized recovery. |
| No frozen reservation set | Operator handoff reports reservations_not_recorded with zero consumption; provider stock refuses fulfillment_parcel_reservations_not_recorded. Resolve historical stock explicitly. |
| Unattributed cross-order tracking | tracking_reference_unattributed; no reassignment or backfill. An authorized operator must resolve provenance. |
| No typed durable envelope or evidence pointer | observation_evidence_not_recorded; use a supported retained version or authorized manual recovery. Current provider data cannot reconstruct an erased digest. |
| No occurrence time or status evidence | Chronology remains null; no invented healing proof. An actual tracking delivery retains its first-receipt-time fallback. |
| Hold without proven provider-exception scope or recovery classification | Zero automatic release, provider_exception_scope_unproven. An authorized operator handles the hold. Human and terminal exception holds remain manual. |
| Erased contact or missing carrier selection | No reconstruction of contact; unknown carrier/service stay null. Supply only independently authorized current evidence. |
| Missing, malformed or resized pagination metadata | Begin at page zero. A checkpoint-read error aborts before GET and writes no replacement checkpoint; repair storage before retrying. |
| Delivered observation without an incoming tracking reference | A verified webhook can record arrival for an exactly correlated parcel with an existing unambiguous provider-bound reference and a proven occurrence time. Without that evidence, arrival and alignment stay unchanged. Use the authorized tracking and delivery path when the provider cannot supply sufficient evidence. |
Native intake composes existing commands and the job ledger; it installs no scheduler. Public tracking access, label create/void, independent split shipments, provider activation and hosted qualification retain their existing limits.
Published starter catalogue limits
Published products display a title or localized short name and an optional local image. Long descriptions, product details and pack contents display as empty copy.
The starter reserves part of its 500 active sellable SKU quote capacity for seeded storefront and editor SKUs. Active sellable SKUs across offers also count. If capacity is exhausted, reduce the active sellable catalogue through the supported lifecycle, then reread and quote.
Publish new products under a document schema distinct from the configured
quote.document.schemaId. For an existing collision, withdraw the colliding
product through governed catalogue commands and repeat the original quote.
Supported published documents use canonical draft JSON. Recover damaged
revisions from a verified backup and repeat the affected quote.