Payment Gateway Integration
Payment processing guidance for Stripe, PayPal, and Square with subscriptions, webhooks, and refunds.
- CCM score
- 50 of 100
- skills.sh installs
- 481
- GitHub stars
- 257
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers checkout flows, recurring billing, refunds, and disputes across Stripe, PayPal, and Square integrations
- Includes Node.js Stripe code for payment intents, subscriptions, and refunds, plus a PayPal reference guide
- Enforces webhook signature verification, no raw card data handling, and idempotency keys with retry logic
- Designed for developers adding secure payment flows to web applications that must meet PCI compliance
Install
$ npx -y skills add secondsky/claude-skills --skill payment-gateway-integration -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Payment Gateway Integration
Integrate secure payment processing with proper error handling and compliance.
Stripe Integration (Node.js)
const stripe = require('stripe')(process.env.STRIPE_SECRET_KEY);
class PaymentService {
async createPaymentIntent(amount, currency, customerId) {
return stripe.paymentIntents.create({
amount: Math.round(amount * 100), // Convert to cents
currency,
customer: customerId,
automatic_payment_methods: { enabled: true }
});
}
async createSubscription(customerId, priceId) {
return stripe.subscriptions.create({
customer: customerId,
items: [{ price: priceId }],
payment_behavior: 'default_incomplete',
expand: ['latest_invoice.payment_intent']
});
}
async refund(paymentIntentId, amount = null) {
const params = { payment_intent: paymentIntentId };
if (amount) params.amount = Math.round(amount * 100);
return stripe.refunds.create(params);
}
}
Webhook Handling
app.post('/webhooks/stripe', express.raw({ type: 'application/json' }), (req, res) => {
const sig = req.headers['stripe-signature'];
Details
- Repository
- github.com/secondsky/claude-skills
- Categories
- Finance & Trading, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the payment-gateway-integration skill do?
payment-gateway-integration integrates payment processing with Stripe, PayPal, or Square, covering subscriptions, webhooks, and PCI compliance. It guides checkout flows, recurring billing, and handling refunds and disputes in your app.
How do I install the payment-gateway-integration skill?
Run npx -y skills add secondsky/claude-skills --skill payment-gateway-integration -y in your project. Once installed, payment-gateway-integration gives your agent Stripe and PayPal code for payment intents, subscriptions, refunds and webhook signature checks.
Does payment-gateway-integration need Stripe keys or other credentials?
Yes, the Stripe examples in payment-gateway-integration read STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET from environment variables. Its PayPal path is described in a separate reference file inside the skill.
Where does payment-gateway-integration fit among finance skills?
payment-gateway-integration is listed in the Finance & Trading category on Claude Marketplaces, alongside wind-mcp-skill, stripe-best-practices, wind-find-finance-skill, convex-billing, and create-payment-credential. Its own focus is wiring Stripe, PayPal or Square checkout and webhooks into an application.
More from secondsky/claude-skills
All 116- Test Quality Analysis480
- Bun Hono Integration476
- Api Reference Documentation475
- Mutation Testing471
- Tanstack Router471
- Internationalization I18n467
- Security Headers Configuration466
- Systematic Debugging466
- Bun Package Manager465
- Interaction Design465
- Seo Optimizer465
- Api Error Handling463
- Sequential Thinking458
- Bun Nextjs452
- Websocket Implementation449
- Mobile App Debugging448
- Root Cause Tracing448
- App Store Deployment447
- Recommendation Engine447
- Seo Keyword Cluster Builder447
- Push Notification Setup446
- Drizzle Orm D1443
- Api Pagination442
- Api Response Optimization442
Similar to Payment Gateway Integration
More Finance & Tradingpaypal-integrationSkillwshobson/agents11.6K installsIntegrated PayPal payment guidance covering express checkout, recurring subscriptions, IPN handling, and refund workflows.
stripe-integrationSkillwshobson/agents14.1K installsStripe payment integration covering checkout, subscriptions, webhooks, and refunds, with PCI-compliant flows.
payment-processingPluginHermeticOrmus/LibreUIUX-Claude-Code127 starsPayment gateway integration with Stripe, PayPal, checkout flow implementation, subscription billing, and PCI compliance
stripe-paymentsSkilljezweb/claude-skills1.2K installsAdd Stripe payments to a web app across Checkout Sessions, subscriptions, webhooks, and customer portal.
payment-integrationSkillmrgoonie/claudekit-skills363 installsIntegration guide for five payment platforms covering checkout, webhooks, subscriptions, and licensing.