IQ.

ENGINEERING EVIDENCE / VERIFIED SCOPE

Commerce UI and test-only checkout

Norrli Pets / technical review.

How a public storefront separates product discovery and checkout readiness from actual payment and fulfillment.

EVIDENCE LEVELPublic source + storefront inspected
ORIGINAL SOURCE REVIEW2026-10-23
PROJECT TYPEIndependent engineering project

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

A documented path through the system.

This is a conceptual, source-scoped diagram—not a packet trace, running backend or measured infrastructure topology.

  1. 01

    Public storefront

    Product discovery

    Browse Swedish-language categories, products and a cart interface.

    Boundary: Visible catalog content is not evidence of inventory or fulfilled orders.
  2. 02

    API boundary

    Server catalog

    Use a dedicated catalog endpoint and source-reviewed product-selection checks.

    Boundary: Actual availability and price require live operational validation.
  3. 03

    Server-side gate

    Test checkout guard

    Reject checkout unless the sandbox flag and a Stripe test-only key are present.

    Boundary: The inspected code explicitly refuses Stripe live keys.
  4. 04

    Tested policy boundary

    Launch readiness

    Keep documented supplier preparation separate from authorization to start selling.

    Boundary: A passing preparation checklist still does not grant launch approval.

02 / EXPECTED BEHAVIOUR

Contracts and failure cases.

Required contract

Live payment is deliberately disabled; checkout is test-only and must not accept production Stripe credentials.

Negative path

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

What a reviewer can actually inspect.

The following exact snippet comes from the public repository test-checkout handler, pinned to the reviewed commit.

Verbatim public Nuxt server-side guardserver/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
Reviewed files and explicit limits
AreaSource observationSupportsDoes not prove
Shopping interfacePUBLIC SOURCEpages/cart.vue

A 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 SOURCEserver/api/checkout.post.ts

The 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 SOURCEtests/launch-readiness.test.mjs

Automated 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 SOURCEserver/api/products.get.ts

A 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

Evidence before assertions.

Test / review signal

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 assertions

What remains open

Named 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.