TheSkillz

Stripe Billing Integrator

Ship Stripe subscriptions with idempotent webhooks and correct entitlements

TheSkillz Team TheSkillz Team No reviews yet2 installsv1.0.0
Scan passed · 100/100Human reviewedOfficial · TheSkillz
☆ Star 0

$1

One-time · instant delivery

Buy for $1

An operator-grade procedure for implementing and verifying SaaS billing on Stripe: catalog and price manifest, Checkout and Customer Portal, signed idempotent webhook handling, a subscription-status to entitlement state machine, dunning, Stripe Tax, and a test-to-live cutover checklist. Ships a stdlib webhook contract tester that replays signed events and proves redelivery is idempotent, plus a preflight that checks env names, manifest price ids, and enabled webhook events.

SKILL.md (preview)

Stripe Billing Integrator

Move a SaaS app from "we have a pricing page" to "customers pay, keep the access they paid for, and lose it when they stop paying" without sacrificing idempotency, entitlement correctness, or a clean live cutover.

Start every run

  1. Read references/billing-playbook.md for the subscription-status to entitlement state machine. Every decision below depends on it.
  2. Read references/webhook-events.md before touching a webhook handler or the endpoint's enabled events.
  3. Read references/operations.md before running the Stripe CLI, editing environment configuration, or promoting to live.
  4. Inspect current state: git log --oneline -20 -- '*billing*' '*stripe*', the price manifest (billing/prices.json or equivalent), the webhook route, and the entitlement table or column. Never trust a README claim about "webhooks are done" over the actual handler code and the endpoint's enabled events in Workbench.
  5. Confirm authorization. Editing test-mode objects and code is in scope by default. Creating live-mode products, prices, webhook endpoints, or changing the account's default API version requires an explicit instruction in the current request.

Non-negotiable rules

  • Verify the Stripe-Signature header on the raw request body before parsing JSON. Frameworks that re-serialize the body break verification; read bytes.

The full procedure, checklists and output format unlock after purchase.

Buy for $1

Reviews

Sign in to leave a review.

  • Be the first to review this skill.

More in coding