Webhook Idempotency Fix — Development skill for Claude Code
Webhook Idempotency Fix for License Renewals.
How to install Webhook Idempotency Fix
Installs to ~/.claude/skills/getqarote-qarote-webhook_idempotency_fix/SKILL.md
mkdir -p ~/.claude/skills/getqarote-qarote-webhook_idempotency_fix && curl -fsSL https://raw.githubusercontent.com/getqarote/Qarote/HEAD/.claude/skills/WEBHOOK_IDEMPOTENCY_FIX.md -o ~/.claude/skills/getqarote-qarote-webhook_idempotency_fix/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Webhook Idempotency Fix does
Webhook Idempotency Fix for License Renewals
Issue Summary
The license renewal logic in `handleInvoicePaymentSucceeded` webhook handler lacked an idempotency check. When Stripe delivered the same `invoice.payment_succeeded` webhook multiple times (which is normal webhook behavior), the code would process the same license renewal multiple times.
Impact
Each duplicate webhook delivery would:
- Increment
currentVersion- Version would increase beyond the actual number of renewa
Alternatives in Development
- Fix Py Line Too Long 71.9k ★
- Grammar Check — Identify grammar and flow errors with targeted fix suggestions 7.8k ★
- n8n Validation Expert — Fix n8n validation errors with error catalog 3.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Stripe Connect Subscriptions
Claude Code skill: build Stripe Connect marketplace money movement and platform subscription billing (separate
Domain MCP
Manage Dynadot domains, DNS, renewals, and transfers from Claude, Cursor, or any MCP client.
Retrospective Harness
Trigger deterministic retrospective analysis of recent agent trajectories, extract invariant friction signatur
Wp Headless
Quick headless WordPress scan - fast pattern detection for WPGraphQL schema extensions, frontend queries, prev
Notifyme
A self-hosted alternative to Pushover / ntfy / Bark. NotifyMe gives every developer a personal webhook URL tha
Add Trigger
Create webhook triggers for a Sim integration using the generic trigger builder
Related Agents
Kavach Billing
KAVACH billing/monetization specialist. Walks the full money kill chain - server-side price/entitlement enforc
Spgr Agent Billing
Owns the SaaS revenue model: Stripe integration, subscription lifecycle, usage metering, dunning, plan entitle
Webhook Contract Auditor
Read-only audit of a webhook handler against its webhook-contract.json delivery contract. Finds side effects w