More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Payment Webhook and Checkout Debugger

    1

    A buyer paid and got nothing, or got it twice. Your agent checks your webhook, orders and checkout code, finds the gap, fixes it, and proves the fix.

    $10

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Payment Webhook and Checkout Debugger

    Payment Webhook and Checkout Debugger

    Example session with this skill installed

    I have an order ref 'TRX-9921' where the user paid via Paystack, but the order table still shows 'pending' and they didn't get their credits. Check the webhook handler in /api/paystack/route.ts.

    • Read your context and instructions
    • Compiled the payment webhook

    Payment diagnosis: SaaS App (Paystack, Live)
    Symptom: Paid but nothing granted, Ref: TRX-9921, Amount: 5000 NGN
    Provider record: Success (verified via user log)
    Order record: Pending

    Findings

    1. [Blocker, Confirmed] Missing Webhook Idempotency / Duplicate Guard
      Catalog match: late_webhook_race_condition
      Cause: The handler at /api/paystack/route.ts lacks a check to see if the order is already processed. If the redirect happens before the webhook, or if the webhook retries, it fails to update or grants twice.
      Fix: Add a database transaction and check where status != 'success' before granting credits in route.ts.
      Verify: Use the Paystack Test Dashboard to "Replay" the webhook for TRX-9921 and ensure it does not create a duplicate transaction log.

    2. [High, Confirmed] Unhandled charge.success event
      Catalog match: event_type_mismatch
      Cause: Code is looking for payment.success but Paystack sends charge.success.
      Fix: Update the switch statement in route.ts line 24 to handle the correct event string.
      Verify: Run python -I scripts/scan_payments.py . after change to verify event mapping.

    Orders to repair

    • TRX-9921: Manually set status to 'success' and increment credit_balance by 50.

    Next steps

    • Apply the transaction guard to api/paystack/route.ts.
    • Run the references/webhook-audit-checklist.md to ensure signature verification is active.
    • Update the learning log with this event mapping fix.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Debug payment failures where money is taken but goods aren't delivered. This skill audits webhook handlers and checkout flows to resolve duplicate grants, empty order tables, and hanging checkout popups.

    What it does

    • Scans payment code using a bundled Python script to detect high-risk vulnerabilities and misconfigurations.
    • Triages symptoms like "paid but nothing granted" against a catalog of known failure patterns from real-world apps.
    • Audits webhooks to ensure signature verification, duplicate guards, and proper status handling are implemented.
    • Reconciles records by comparing provider logs against internal database states to find the exact point of failure.
    • Generates fix plans that rank issues by severity and provide specific verification steps for each change.

    How it works

    1. Initialize scan: Run the scan_payments.py tool against your project folder to surface immediate blockers or exposed keys.
    2. Symptom collection: Provide an order reference and a description of the failure observed by the buyer or provider.
    3. Evidence matching: The agent compares logs and code against a failure catalog to identify confirmed or likely causes.
    4. Repair and Log: Follow the ranked fix plan to patch the code and record findings in a persistent learning log for the project.

    Frameworks & tools

    Works with web applications using Paystack, Flutterwave, or Stripe. Includes a Python-based scanner script.

    Why this beats prompting it yourself

    Generic prompts often miss the nuances of webhook idempotency and race conditions. This skill uses a structured failure catalog and a dedicated scanner to find "silent" bugs that standard LLMs overlook during basic code reviews.

    Use cases

    • Debugging why a customer was charged but their order remains "pending" in your database.
    • Finding and fixing security blockers like hardcoded secret keys in client-side code.
    • Preventing duplicate delivery of digital goods when a provider sends multiple webhook events.
    • Auditing a new payment integration before moving from test mode to live production.

    Known limitations

    Does not perform live API calls or dashboard actions. Requires manual input of provider log data. Scanner requires a Python environment to execute.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Requires Python to run the scan script. Does not have direct access to private provider dashboards or API keys. User must provide log evidence manually.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    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 4 days ago

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    This skill identifies 'silent' failures where payments are successful but fulfillment fails. It specifically detects issues like missing webhook signature verification, race conditions causing duplicate grants, and improperly handled checkout redirects.

    You receive the core AI agent logic designed for debugging, a specialized Python-based scanning script for local code analysis, and a structured failure catalog for symptom matching. It also includes templates for generating ranked fix plans.

    This skill is designed for web applications integrating Stripe, Paystack, or Flutterwave. While the scanner script requires a Python environment, the agent can analyze code snippets and logs from any backend language (Node.js, PHP, Python, etc.) used for these integrations.

    No, for security and privacy, this agent does not require direct access to your payment dashboards. You simply provide the relevant logs or code snippets for analysis, and the agent reconciles them against your internal database state.

    Unlike general AI prompts, this skill uses a dedicated scanner to find hidden vulnerabilities and a failure catalog built from real-world payment errors. This ensures it catches complex 'race conditions' and idempotency issues that standard LLMs often overlook.

    New in APIs & Backend