Free Sample

Inspect the webhook test structure before buying.

This sample gives you a safe Lemon Squeezy `order_created` fixture, a Next.js raw-body handler, Vitest signature, contract, and duplicate replay tests, a Markdown review report, and a GitHub Actions workflow. It uses only fake data and a local test secret.

Download sample zip GitHub release View README Verify status Delivery and support Review launch evidence Inspect Pro sample report Check pricing ROI Run buyer checklist Compare Pro Kit

Fixture

A CNY `order_created` payload shaped for local entitlement and payment-state tests.

Handler

A Next.js App Router example that verifies the exact raw body before parsing JSON.

Tests

Vitest checks for byte-for-byte signatures, stable payload contracts, and process-once duplicate replay behavior.

Review report

A PR-ready Markdown summary covering the signature gate, trusted fields, and idempotency key.

CI

A GitHub Actions workflow skeleton for running webhook tests before deploys.

Release

The same free sample is attached to GitHub Release v0.1.0 with a public checksum and release notes.

Upgrade Path

Use the sample to validate fit, then upgrade when the route touches real money.

The sample proves the structure with one fake Lemon Squeezy order flow. The Pro Kit expands the same pattern into lifecycle fixtures, provider starters, route handlers, review artifacts, and CI checks that are ready to copy into a billing integration branch.

Free Sample 1 Lemon fixture, 1 handler, 3 tests, 1 review report, 1 CI skeleton
Pro Kit 29 files, 5 Lemon fixtures, 4 route handlers, 12 verified tests
Checkout CN¥69 digital pack, disabled until live Lemon Squeezy config is connected

Fake-safe by default

The sample uses fake provider IDs, fake customer fields, and a local-only test signing secret.

Public release artifact

The ZIP is attached to GitHub Release v0.1.0 so developers can inspect the sample before any purchase path exists.

Download Use the hosted ZIP or GitHub Release asset. Inspect Read the fixture, handler, tests, report, and workflow. Adapt Replace fake entitlement logic before touching production billing.
sample-pack/
  README.md
  fixtures/lemon/order-created.sample.json
  src/handlers/next-app-router.sample.ts
  tests/lemon-signature.sample.test.ts
  tests/lemon-contract.sample.test.ts
  tests/lemon-idempotency-replay.sample.test.ts
  docs/webhook-review-report.sample.md
  .github/workflows/webhook-checks.sample.yml