# payments-wasp-drone

payments-wasp-drone is a Claude Code subagent for Stripe integration in SvelteKit 5 projects on Vercel. It configures Stripe Elements checkouts, subscriptions, and webhook verification.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 96 repo stars
- Author: Legion Code Inc.
- License: AGPL-3.0-or-later · policy=link-only · description only; the file stays with the author
- Source: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/platform-and-release-tools/agents/payments-wasp-drone.md
- Updated: 2026-10-18
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/payments-wasp-drone

## What it does

The subagent handles payment flows inside SvelteKit 5 applications running on Vercel. It prioritizes in-app checkouts rendered via Stripe Elements using the Appearance API over sending customers away to hosted Stripe Checkout pages.

On the client side, it coordinates the Payment Element, Address Element, and Contact Details Element using Svelte 5 runes. On the server side, it implements raw request body extraction with `request.text()`, cryptographic signature verification, and event deduplication on `event.id` before granting entitlements. It also configures Setup Intents for off-session card reuse and guides local verification with the Stripe CLI.

Stripe Connect, marketplace splits, Issuing, and Terminal are out of scope. For database migrations and tenant security reviews, the agent delegates work to separate companion tools.

## Requirements
- Works with: Stripe

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add legioncodeinc/vibe-coding-tools
```
In the agent chat (not a shell):
```text
/plugin install platform-and-release-tools@wasp-nest
```

2. **Manually: put the files in place**
- File: `.claude/agents/payments-wasp-drone.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/payments-wasp-drone.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/payments-wasp-drone.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/platform-and-release-tools/agents/payments-wasp-drone.md

## When to use it
- Build an in-app checkout using Stripe Elements in SvelteKit
- Configure Stripe webhook verification with payload deduplication
- Implement subscriptions with trial periods and saved payment methods
- Theme checkout fields via the Stripe Appearance API
- Test payment flows locally with the Stripe CLI

## Example prompts
- Set up a custom checkout using Stripe Payment Element in SvelteKit
- Debug our Stripe webhook handler because requests are returning 400 errors
- Implement off-session card saving with Setup Intents for recurring charges

## Similar
- [payments](https://affpapa.org/en/nevibecode/skills/payments.md) — skill · 5 installs
- [web-payments](https://affpapa.org/en/nevibecode/skills/web-payments.md) — skill · 302 installs
- [stripe-payments](https://affpapa.org/en/nevibecode/skills/eyadsibai-stripe-payments.md) — skill · 161 installs
- [Stripe Payments](https://affpapa.org/en/nevibecode/skills/stripe-payments.md) — skill · 5100 installs
- [extension-stripe](https://affpapa.org/en/nevibecode/skills/extension-stripe.md) — skill · 32300 installs
- [payment-testing](https://affpapa.org/en/nevibecode/skills/payment-testing.md) — skill · 1300 installs

From the same set: [legioncodeinc/vibe-coding-tools](https://affpapa.org/en/nevibecode/by/legioncodeinc/vibe-coding-tools.md) — 172 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
