Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hookproof

Free Stripe event diagnostics and route scaffolding for Next.js App Router.

Hookproof helps developers catch webhook reliability failures before a payment event reaches production. The free core parses Stripe event envelopes, identifies traceability gaps, and generates signature-verifying route scaffolds.

Why

Stripe retries deliveries. Next.js can mutate request bodies. Vercel environments can carry the wrong endpoint secret. A success redirect is not payment fulfillment. Hookproof makes those failure modes visible.

Use the free core

git clone https://github.com/anxiety-design/hookproof.git
cd hookproof
npm install
npm test
npm run build
import { parseEvent, analyzeEvent } from "./src/analyze.js";
const result = analyzeEvent(parseEvent(rawJson));
console.log(result.score, result.warnings);

Production kit

The optional 5 USDC Hookproof Stripe Reliability Kit adds:

  • typed, tested webhook dispatch;
  • persistent Postgres and Upstash idempotency patterns;
  • Checkout, invoice, and subscription examples;
  • retry, duplicate, signature, and handler-failure fixtures;
  • Next.js + Vercel deployment runbook;
  • commercial use in unlimited purchaser-owned projects.

The paid kit supports two independent Base USDC checkout rails:

Privacy

The hosted diagnostic runs entirely in the browser. Hookproof does not upload or store pasted event payloads.

License

MIT for this free repository. The separately purchased kit has its own commercial-use license.

About

Free Stripe webhook diagnostics and Next.js route scaffolding, plus a 5 USDC x402 reliability kit

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages