Payment integration

From rnavarych/alpha-engineer · View interactive version

Payment integration is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Payment gateway integration patterns for e-commerce: Stripe, PayPal, Adyen, Square, Mollie, Razorpay, Checkout.com, BNPL (Klarna, Affirm, Afterpay), crypto payments (BitPay, BTCPay), payment orchestration (Primer, Spreedly), 3DS2 authentication, fraud prevention (Sift, Riskified), subscription billi

How to use this skill

Skill file

Payment Integration

When to use

Core principles

  1. Idempotency-Key on every payment request — network timeouts happen; without it you double-charge customers
  2. Never touch raw card data — tokenize client-side, send only tokens server-side; SAQ A or SAQ A-EP always
  3. Webhook handlers must be idempotent — deduplicate by event ID; Stripe retries; you will receive duplicates
  4. Liability shift via 3DS2 — pass browser + device data; frictionless approval rate rises dramatically with richer context
  5. Reconcile daily — gateway transactions vs. internal records; silent discrepancies become audits

Reference Files

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.