secure-payment-webhook-access
CommunitySecure webhook-driven purchase access end-to-end.
Authorraingernx
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures that payment webhook events are verified before granting access to purchases, preventing unauthorized access via client-side redirects or unreliable signals.
Core Features & Use Cases
- Signature verification for Stripe and Xendit webhooks before any body parsing or DB access.
- Idempotency checks to avoid duplicate grants on repeated webhook deliveries.
- Atomic transactions for state changes using prisma.$transaction to ensure consistency.
- Access gating only when Purchase.status is "COMPLETED" or an active subscription exists.
- Auditing and debugging workflows for common issues like "payment succeeded but user can't access resource".
- Guidance for implementing and auditing webhook handlers across Stripe and Xendit.
Quick Start
Audit and implement webhook handling to ensure signature verification, idempotency, transactional updates, and secure access gating after a completed purchase.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: secure-payment-webhook-access Download link: https://github.com/raingernx/KRUKRAFT/archive/main.zip#secure-payment-webhook-access Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.