Agent skill · software engineering · secondsky
payment-gateway-integration
Integrates payment processing with Stripe, PayPal, or Square including subscriptions, webhooks, and PCI compliance. Use when implementing checkout flows, recurring billing, or handling refunds and disputes.
Why this skill is useful
Provides specific integration patterns and error handling for Stripe and PayPal that the AI wouldn't reliably generate on its own.
What it needs
Requires express, stripe installed locally. Requires paypal, stripe account access. About 1k tokens when loaded. Last updated 2026-08-06. 204 stars on the source repository.
What this skill does
Payment Gateway Integration Integrate secure payment processing with proper error handling and compliance. Stripe Integration (Node.js) Webhook Handling PayPal Integration See references/paypal-integration.md for complete PayPal implementation with: Order creation and capture Refund processing Webhook handling Frontend SDK integration Success/cancel callbacks Security Checklist [ ] Use official SDK only [ ] Verify webhook signatures [ ] Never log full card numbers [ ] Store minimal payment data [ ] Test in sandbox first [ ] HTTPS for all payment routes [ ] Handle all error cases [ ] Use idempotency keys [ ] Implement retry logic Best Practices Do: Use official SDK libraries Verify all webhook signatures Log transaction IDs (not card data) Test in sandbox environment Handle all payment states Implement proper error messages Don't: Process raw card data directly Store sensitive payment info Hardcode API keys Skip webhook signature validation Ignore failed payment events Use test keys in production
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills secondsky/payment-gateway-integration