Required contract
Live payment is deliberately disabled; checkout is test-only and must not accept production Stripe credentials.
ENGINEERING EVIDENCE / VERIFIED SCOPE
Commerce UI and test-only checkout
How a public storefront separates product discovery and checkout readiness from actual payment and fulfillment.
Review scope: The source repository is public. Source links below open the actual tracked files; checkout remains explicitly test-only or configuration-gated.
01 / SYSTEM FLOW
This is a conceptual, source-scoped diagram—not a packet trace, running backend or measured infrastructure topology.
Public storefront
Browse Swedish-language categories, products and a cart interface.
API boundary
Use a dedicated catalog endpoint and source-reviewed product-selection checks.
Server-side gate
Reject checkout unless the sandbox flag and a Stripe test-only key are present.
Tested policy boundary
Keep documented supplier preparation separate from authorization to start selling.
02 / EXPECTED BEHAVIOUR
Live payment is deliberately disabled; checkout is test-only and must not accept production Stripe credentials.
Missing configuration, unavailable catalog records and insufficient stock are rejected rather than silently charged.
Design decision: Keep product discovery available while separating checkout, payments and operational readiness behind explicit controls.
Tradeoff: A polished storefront may look commercially complete before real suppliers, fulfillment and payments are ready.
03 / SOURCE & PROVENANCE
The following exact snippet comes from the public repository test-checkout handler, pinned to the reviewed commit.
server/api/checkout.post.ts // NEVER allow a live key through this test-only checkout implementation.
if (!config.checkoutEnabled || !apiKey.startsWith('sk_test_')) {
throw createError({
statusCode: 503,
statusMessage: 'Norrli Pets Stripe test checkout is not connected yet. No real payments are accepted.'
})
}Shows one code-level test-only guard. It does not prove that any payment endpoint is live, secure or accepting orders.
Inspect the referenced source| Area | Source observation | Supports | Does not prove |
|---|---|---|---|
| Shopping interfacePUBLIC SOURCE | pages/cart.vueA tracked cart page exists in the Nuxt storefront repository. | A shopping-cart route is represented as a real frontend artifact. | This is not proof that orders have been accepted or fulfilled. |
| Checkout guardPUBLIC SOURCE | server/api/checkout.post.tsThe endpoint rejects checkout unless explicitly enabled with a test-only Stripe key and configured order storage. | The inspected path has a hard gate against live Stripe keys. | No live card processing, customer payments or commercially active checkout are asserted. |
| Launch decisionPUBLIC SOURCE | tests/launch-readiness.test.mjsAutomated tests assert that even a documented preparation state still requires separate approval to launch. | Source-level readiness gates distinguish preparation from launch authorization. | Test assertions do not substitute for actual supplier contracts or fulfillment performance. |
| Catalog boundaryPUBLIC SOURCE | server/api/products.get.tsA typed server API file exists for catalog retrieval. | Product browsing has a dedicated implementation boundary. | Product availability and prices require independent live validation. |
04 / VALIDATION & NEXT CHECK
The public tests/launch-readiness.test.mjs contains assertions that even fully documented preparation remains unapproved. This page does not rerun that external repository’s test suite.
Read pinned public launch-readiness assertionsNamed public repository paths inspected in October 2026. No live sales or payment processing are verified.
Next verification: Confirm supplier obligations, commerce regulation, fulfillment and real payment credentials in a separate approved launch.
Public source reviewed again on 4 November 2026 at a pinned commit. No live customer payments or fulfillment are asserted.