/paypal:paypal-best-practicesfrom paypal
Provides PayPal integration guidance, code examples, and best practices for checkout, card fields, BNPL, Pay Later, Venmo, subscriptions, invoicing, disputes, payouts, webhooks, APMs, JS SDK v5/v6, payment sessions, Fastlane, payment links, donations, 3D Secure, vaulting, iDEAL, bank redirects, and agentic commerce.
Ships in paypal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Before answering, read the relevant reference file from the table below. The reference files contain current documentation URLs, country availability, and verified code examples.
| Developer intent | Reference file |
|---|---|
| Accept payments, add PayPal button, checkout flow, Orders API, payment link, payment links, pay link, React PayPal, @paypal/react-paypal-js, authorize vs capture, deferred capture, donate button, donations | references/checkout.md (v5) or references/js-sdk-v6.md (v6) |
| Advanced Card Fields, Apple Pay, Google Pay, APMs, Expanded Checkout, bank redirect, iDEAL, Bancontact, BLIK, Przelewy24, Pay upon Invoice, Ratepay, domain association, regional payment methods | references/expanded-checkout.md (v5) or references/js-sdk-v6.md (v6) |
| Add Venmo, Venmo button, Venmo eligibility, isEligible, eligibility check, Venmo app | references/venmo.md (v5) or references/js-sdk-v6.md (v6) |
| Pay Later, installments, BNPL messaging, Pay in 4, financing, BNPL banner, Pay Later banner, Pay Later eligibility | references/bnpl.md (v5) or references/js-sdk-v6.md (v6) |
| Recurring billing, subscriptions, plan management, free trial, trial period, upgrade plan, downgrade plan, plan revision | references/subscriptions.md (v5) or references/js-sdk-v6.md (v6) |
| Disputes, chargebacks, refunds, evidence, provide evidence, dispute lifecycle, dispute stage, INQUIRY, CLAIM | references/disputes-refunds.md |
| Send money, batch payouts, seller payments, Venmo payout, 1099, tax reporting, prepaid cards | references/payouts.md |
| Invoices, billing, send invoice, invoice reminder, partial payment, line items | references/invoicing.md |
| OAuth, access tokens, credentials, idempotency, token caching, token refresh, idempotency key, PayPal-Request-Id | references/authentication.md |
| Webhook verification, event handling, signature check, webhook simulator, test webhooks, event types, PAYMENT.CAPTURE | references/webhooks.md |
| Test the full webhook lifecycle, subscribe a webhook URL, register a webhook, simulate-event API, webhooks-events history, resend a webhook event, delete/manage a webhook subscription, ngrok for webhooks, local webhook listener | references/webhook-sandbox.md |
Fastlane, accelerated guest checkout, auto-fill, prefill, single-use token, Braintree Fastlane, braintree-web, BraintreeGateway, gateway.clientToken.generate, braintree.fastlane.create, paymentMethodNonce | Pick exactly one — three variants, do not mix. Braintree gateway (braintree-web, BraintreeGateway, paymentMethodNonce): references/fastlane-braintree.md. PayPal-direct v5 (paypal.Fastlane({}), data-sdk-client-token): references/fastlane.md. PayPal-direct v6 (sdkInstance.createFastlane()): references/js-sdk-v6.md. If unclear which variant, ask before generating code. |
| 3D Secure, liability shift, SCA, PSD2, Strong Customer Authentication, enrollment status, authentication status | references/3d-secure.md |
| AI shopping agents, Store Sync, Agent Ready, agentic commerce, ChatGPT, product discovery, delegated payment token | references/agentic-commerce.md |
| MCP server tools, tool inventory, product catalog, merchant insights, reporting | references/mcp-tools.md |
| JS SDK v6, v6 Web SDK, createInstance, payment sessions, web components, migrate from v5, card fields, vault, save card, save payment method, vaulting, CSP, Content Security Policy | references/js-sdk-v6.md |
Before writing any PayPal code, detect SDK version and read the correct reference:
sdk/js?client-id= script tag, paypal.Buttons(), Hosted Fields → use checkout.md / expanded-checkout.mdweb-sdk/v6/core script tag, createInstance, <paypal-button> web components → use js-sdk-v6.mdjs-sdk-v6.mdWhen the PayPal MCP server is connected, prefer MCP tools for live operations (creating orders, managing subscriptions, fetching disputes). Use this skill for architecture decisions, code generation, and integration guidance — not for executing API calls that MCP tools can handle directly.
This skill does NOT cover:
After generating PayPal integration code, proactively scan the project to verify the environment is correctly configured for the code you just wrote.
PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET, client token endpoint).env, .env.sample, .env.example, .env.local) in the project root and server//client/ subdirectories.env.sample or .env.example exists but no .env — flag it.env exists — check the required keys are present and non-emptyclientId reaches the client before checking — do not assume a patternPAYPAL_CLIENT_ID configured in this project?" before flagging anything as missingBefore presenting generated PayPal integration code, verify:
PayPal-Request-Id included on all POST requestsintent matches the use case (CAPTURE vs AUTHORIZE)actions.order.create())debug_id logged from error responsesreferences/3d-secure.md (opens in a new tab)references/agentic-commerce.md (opens in a new tab)references/authentication.md (opens in a new tab)references/bnpl.md (opens in a new tab)references/checkout.md (opens in a new tab)references/disputes-refunds.md (opens in a new tab)references/expanded-checkout.md (opens in a new tab)references/fastlane-braintree.md (opens in a new tab)references/fastlane.md (opens in a new tab)references/invoicing.md (opens in a new tab)references/js-sdk-v6.md (opens in a new tab)references/mcp-tools.md (opens in a new tab)references/payouts.md (opens in a new tab)references/subscriptions.md (opens in a new tab)references/venmo.md (opens in a new tab)references/webhook-sandbox.md (opens in a new tab)references/webhooks.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
"how do I integrate PayPal", "PayPal checkout example", "PayPal best practices", "PayPal subscriptions guide", "PayPal webhook setup", "PayPal error handling", "PayPal SDK code", "add Pay Later", "add Venmo", "PayPal card fields", "PayPal disputes", "PayPal invoices", "PayPal docs link", or any PayPal code generation request.
Three short reads, in order
paypal-integration, checkout, bnpl, venmo, subscriptions, disputes, webhooks, fastlane
2 skills in this plugin
Other plugins' skills for the same job
npx claudepluginhub paypal/ai-toolkit --plugin paypal