doctor
Diagnose PayPal integration issues by scanning your codebase, environment, and API usage patterns — then offer targeted fixes
Show PayPal sandbox setup, credentials, and developer dashboard resources
> /plugin marketplace add paypal/AI-Toolkit > /plugin install paypal@paypal-ai-toolkit
How it fires
How this command gets triggered: by you, by Claude, or both.
/sandboxContext preview
What this command does when you run it.
Show PayPal sandbox setup, credentials, and developer dashboard resources
description: Show PayPal sandbox setup, credentials, and developer dashboard resources argument-hint: [topic — e.g. "setup", "credentials", "ngrok", "postman"] allowed-tools: Read, Bash, mcp__paypal-sandbox__*
Show PayPal sandbox developer setup. If "$ARGUMENTS" matches a recognized topic, show only that section. If "$ARGUMENTS" is empty or unrecognized, show all sections below.
Topic aliases:
1. Create a Developer account at https://developer.paypal.com 2. Go to **Dashboard → Apps & Credentials → Sandbox** — create an app to get your Client ID and Secret 3. Go to **Dashboard → Sandbox → Accounts** — create sandbox buyer and seller accounts for testing 4. Use **Sandbox base URL**: `https://api-m.sandbox.paypal.com` 5. Use **Sandbox MCP endpoint**: `https://mcp.sandbox.paypal.com/sse`
| | Sandbox | Production | |---|---|---| | API base URL | `api-m.sandbox.paypal.com` | `api-m.paypal.com` | | Buyer approval | `sandbox.paypal.com` | `paypal.com` | | Credentials | Sandbox app in Dashboard | Live app in Dashboard |
Never mix sandbox and production credentials — they are completely separate environments. This plugin's MCP server only connects to the sandbox environment (`mcp.sandbox.paypal.com/sse`).
PayPal publishes an official Postman collection with pre-built requests for all major APIs.
1. Open Postman and import the collection: https://www.postman.com/paypal 2. Set these collection variables:
3. Run the **Get Access Token** request first — Postman will store the token automatically 4. You can now call Orders, Payments, Subscriptions, and other APIs directly from Postman
For testing specific scenarios (declines, BNPL, Venmo, subscriptions, disputes, webhooks), use `/paypal:test-accounts` for a detailed scenario guide.
A Claude Code plugin that integrates PayPal's APIs and MCP server into your development workflow. Get AI-assisted help with PayPal payments, subscriptions, invoices, disputes, and more — directly in your editor.
Repo: paypal/AI-Toolkit
Diagnose PayPal integration issues by scanning your codebase, environment, and API usage patterns — then offer targeted fixes
Explain a PayPal API error code or message and provide actionable solutions
Configure PayPal plugin — verify credentials, test MCP server connection, and show active environment
Show PayPal sandbox test accounts and scenario-specific testing tips