Agent skill · software engineering · aj-geddes

payment-gateway-integration

Integrate payment gateways like Stripe, PayPal, and Square with backends for payment processing, subscription management, and webhook handling. Use when building e-commerce platforms, implementing billing systems, and handling payments securely.

Why this skill is useful

Provides specific integration patterns and best practices for payment gateways that the AI wouldn't reliably generate on its own.

What it needs

Requires paypal, square, stripe account access. About 1k tokens when loaded. Last updated 2026-03-04. 307 stars on the source repository.

What this skill does

Payment Gateway Integration Table of Contents Overview When to Use Quick Start Reference Guides Best Practices Overview Build secure payment processing systems with major payment providers (Stripe, PayPal, Square), handling transactions, subscriptions, webhooks, PCI compliance, and error scenarios across different backend frameworks. When to Use Processing customer payments Implementing subscription billing Building e-commerce platforms Handling refunds and disputes Managing recurring charges Integrating payment webhooks Quick Start Minimal working example: Reference Guides Detailed implementations in the references/ directory: Guide Contents --- --- Stripe Integration with Python/Flask Stripe Integration with Python/Flask Node.js/Express Stripe Integration Node.js/Express Stripe Integration PayPal Integration PayPal Integration Subscription Management Subscription Management Best Practices ✅ DO Use official payment SDK libraries Verify webhook signatures Store minimal payment information Never store full credit card numbers Use HTTPS for all payment routes Implement proper error handling Test with sandbox environments Handle payment failures gracefully Implement PCI compliance Log all payment transactions Use idempotency keys Implement retry logic ❌ DON'T Handle raw card data Store sensitive payment information Log sensitive details Trust client-side validation only Ignore webhook events Hardcode API keys Use test keys in production Skip SSL/TLS verification Forget to validate amounts Store payment tokens without encryption

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aj-geddes/payment-gateway-integration

View the source on GitHub

Browse the @skills marketplace