AVAILABLECheckout Module
Available product — files, demo URL and secure download get mapped in EDF 0.3.
What it does
Cart to paid order, with the maths done on the server.
A checkout you can trust with real orders: prices are always recomputed on the server from your catalog, stock is reserved atomically so nothing oversells, coupons are counted, VAT follows the buyer's country (with EU reverse charge for business buyers) and payment events are verified by signature and amount. Includes a responsive shop UI, a mock payment provider for local testing, Stripe Checkout and Creem adapters, admin routes and a go-live checklist. Plain Node.js (22.5+) with built-in SQLite: zero npm dependencies, 19 automated tests, editable source.
Origin: EDF native product (Platform Modules 1.0) · Roadmap window:
Live demo


Package
Placed in the private vault layout (deploy/vault/products). Downloads stay disabled until checkout is connected.
What's included
- Server-side pricing engine in integer cents: gross or net prices, VAT per buyer country, reverse charge format check, shipping rules, discounts split without losing a cent
- Coupons: percent or fixed, minimum spend, start/expiry, usage limits
- Orders with state machine (pending, paid, fulfilled, refunded, cancelled, expired, review) and secret-token status page
- Atomic stock reservation, expiring holds, idempotency keys: 40 simultaneous buyers of 5 items sell exactly 5
- Payment safety: webhook signature over the raw body, amount and currency must match, duplicate events ignored, late payments flagged for review
- Providers: mock (local), Stripe Checkout, Creem; fake-fetch and fixture tests, not run against live accounts
- Admin routes for fulfilment and refunds; per-IP rate limits; request size limits
- Responsive shop, cart and order-status UI; browser preview runs the same pricing file
- Go-live checklist, tax and legal notes, security notes, 19 tests
- Needs Node.js 22.5 or later
FORGE DNA™
TIMEPROOF SCORE — derived from real catalog fields (stack, formats, skill, AI flag), not decoration
Compatibility & relations
Derived by the mapping engine (family · layer · tags · dependency rules). Stored in the catalog as compatibility, dependencies, relations[].
Documentation
- Quick start (planned — every product gets one)
- Customisation guide
- Deployment guide — Vercel / Cloudflare / GitHub
- epic.json / EPIC-DNA.json — machine-readable DNA shipped inside the ZIP
Version history & changelog
| VERSION | STATE | NOTES |
|---|---|---|
| v1.0.0 2026-10-12 | AVAILABLE | Initial release. This package contains: Server-side pricing engine in integer cents: gross or net prices, VAT per buyer country, reverse charge format check, shipping rules, discounts split without losing a cent; Coupons: percent or fixed, minimum spend, start/expiry, usage limits; Orders with state machine (pending, paid, fulfilled, refunded, cancelled, expired, review) and secret-token status page; Atomic stock reservation, expiring holds, idempotency keys: 40 simultaneous buyers of 5 items sell exactly 5; Payment safety: webhook signature over the raw body, amount and currency must match, duplicate events ignored, late payments flagged for review; Providers: mock (local), Stripe Checkout, Creem; fake-fetch and fixture tests, not run against live accounts. |
| → | Roadmap | Target window for the next stage. |
License
Standard (personal or commercial use in one end project or your own business) · Extended ×3 (SaaS, unlimited client projects, finished products only). Agency licence comes later.
Deployment
Activated by 1.0 (download) and 2.0 (one-click deploy). Download will be a 10-minute signed URL from the R2 vault — never a public /files/product.zip.
Bundle & save
Related products
Marketplace Starter

Next Commerce Starter
