Give the gate a cost basis
Margin needs a denominator: unit costs, fees, and shipping land in the policy so the floor is computed from what the order actually earns, not from list price.
How merchants put a deterministic margin floor inline at checkout: coupon stacking, price drift, and over-selling evaluated against cost basis in under 120ms, held orders escalated for a decision, and a signed record of every gate — starting in shadow mode where nothing blocks.
Margin needs a denominator: unit costs, fees, and shipping land in the policy so the floor is computed from what the order actually earns, not from list price.
The gate evaluates live checkouts without blocking any of them and reports what would have been held — stacked codes, drifted prices, negative-margin baskets — so the floor is set from your own traffic, not a guess.
Turn enforcement on and ambiguous orders escalate instead of failing: a person approves or rejects the held order, and every verdict — allowed, held, or refused — carries a signed dossier for the dispute that comes later.
Orders that break the rules you set: incompatible discount codes stacked into one basket, carts priced below the margin floor after every adjustment, quantities the shared inventory position cannot cover. The gate returns its verdict inline before the order commits.
The commerce surfaceThe gate evaluates the whole basket's economics, not codes one at a time: whatever combination of discounts, tiers, and shipping promotions is applied, the question asked is whether the resulting order clears the floor. Stacks that survive individually and fail together are exactly what per-code rules miss.
The stacking guardrailYes — the same gate validates live inventory at the moment of checkout, so multi-channel sellers stop committing units they no longer have. Marketplace seller ratings live and die on this.
Over-selling preventionShopify merchants install the Decionis Checkout Gate from the App Store; WooCommerce stores use the plugin from WordPress.org; everything else — custom checkouts, other platforms — calls the same evaluate-decision API the apps use.
The Shopify listingConservatively, and the method is published: prevented loss is computed from governed decisions the gate actually held, never extrapolated, and the aggregate only renders once the sample clears a threshold. The methodology page shows exactly how the figure is built.
The methodologyShadow mode reports the stacked codes, drifted prices, and negative-margin orders the gate would have held — before a single checkout is blocked.
Start in shadow mode