Skip to content

Stripe Payment Integration

Guides the agent through building Stripe checkout, subscriptions, webhooks and refunds

Repository
wshobson/agents
Stars
42,095
Licence
MIT
Files
2 files

What it does

This is a set of instructions that teaches an AI coding agent how to add Stripe payments to an app. Once installed, when you ask for help with online payments, the agent follows the skill's guidance on choosing between Stripe Checkout Sessions and Payment Intents, setting up subscriptions with products and prices, handling webhook events such as successful payments and cancellations, and writing Python test code using Stripe's test card numbers. The agent writes code for your project; the skill itself does not process any payments.

Great for

  • Developers adding subscriptions or one-time payments to a web or mobile app
  • Teams setting up Stripe webhooks and test-mode payment flows
  • Developers who want a checklist of Stripe concepts before building

Skip it if

  • Non-developers who expect a finished payment system; the skill only guides code writing and still needs review (payment bugs can cost money or expose card data)
  • Teams needing the latest Stripe API details, since the guidance is static text and may drift from current Stripe versions
  • Projects needing Stripe Connect marketplace setup in depth; the skill only mentions it briefly

Try asking

  • “Add a monthly subscription checkout to my Flask app using Stripe”
  • “Write a webhook handler that marks an order paid when Stripe sends payment_intent.succeeded”
  • “Set up test-mode tests for a one-time payment flow with Stripe test cards”
  • “Explain whether I should use Checkout Sessions or Payment Intents for my shop”
Step-by-step guide: how to use Stripe Payment IntegrationInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 2 original files, the MIT licence and an attribution note.

    stripe-integration.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip stripe-integration.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip stripe-integration.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Use only Stripe test-mode keys while developing, and keep live secret keys out of code and chat messages
  • Review all generated payment and webhook code, including signature verification, before deploying
  • Ask the agent to check current Stripe documentation for API versions, since this skill's examples are static

What's inside

  • references/details.md
  • SKILL.md

Redistributed unmodified from wshobson/agents under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.