- Home
- Skills
- APIs & Backend
- Payment Webhook Doctor for Stripe
Payment Webhook Doctor for Stripe
Diagnose Stripe signature failures, duplicate order credits and refund drift. Includes a redacted local verifier, test-mode SQLite reconciliation reference, synthetic fixtures and 34 regression tests.
$29
Works with the AI Agents you already use
Payment Webhook Doctor for Stripe
Example session with this skill installed
Run the bundled local webhook diagnosis and SQLite demo. Verify that a valid synthetic event applies once, a replay after reopening storage is absorbed, and a partial refund is recorded once. Do not contact Stripe or move money.
- Read your context and instructions
- Compiled the payment webhook doctor
The full observed output is in evidence/demo.txt. It shows signature verification passed for a synthetic test delivery, followed by:
First verified test-mode delivery: {"result": "applied", "state": "paid"}
Replay after process/storage reopen: {"result": "duplicate", "original_result": "applied"}
Refund update: {"result": "applied", "state": "partially_refunded"}
Reference ledger totals: {"paid": 2900, "refunded": 1000, "status": "partially_refunded"}
Outbox rows (not dispatched): 2
Connects securely to your tools. The creator never sees your data.
About this skill
Investigate payment-webhook failures with evidence rather than blind resends. This coding-agent skill guides raw-body signature debugging, trusted order binding, duplicate delivery handling, out-of-order payment and refund updates, and recovery planning.
The package includes focused SKILL.md instructions and references, a dependency-free Node signature verifier and diagnostic CLI, and a Python/SQLite test-mode inbox, ledger and transactional outbox reference. The tests cover forged and stale signatures, mode/account separation, wrong amounts and currencies, duplicate deliveries after reopening storage, distinct event IDs for the same business effect, late failures, and pending/partial/full refunds. Outbox rows are recorded locally and never dispatched.
Requires Node.js 22.19+ and Python 3.10+. No npm install or live account access is required for the bundled demo. Prefer Stripe's official SDK in deployed webhook handlers. This version supports a narrow set of snapshot PaymentIntent/refund events. It does not implement M-Pesa/Daraja, thin event retrieval, subscription entitlements, disputes or multicapture workflows. Offline tests do not establish production correctness or exactly-once external side effects.
The source is MIT-licensed and intended to remain public. The paid listing packages the workflow, references, fixtures and tools for convenient marketplace discovery and agent use. No exclusive functionality, financial service, live deployment or support subscription is included.
Source repository: https://github.com/Blessed-Shammah/payment-webhook-doctor
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 9 days ago
Requires
Permissions
Read local project/fixture files and run offline tests. Write files only for user-requested implementation or outputs. Browser/network access is for current official documentation or a separately authorized integration. No secrets should be uploaded or logged. Bundled demos make no network request or financial action.