payment-integration
Build secure payment systems using Stripe Checkout, Elements, and PaymentIntents while managing subscription lifecycles, webhook events, and tax calculation. Covers idempotent webhook handling, PCI compliance patterns, refund processing, and RevenueCat integration for mobile subscriptions.
Payment Integration helps you add Stripe payment processing and subscription billing to web and mobile applications.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-17
Payment Integration helps you add Stripe payment processing and subscription billing to web and mobile applications. Build secure payment systems using Stripe Checkout, Elements, and PaymentIntents while managing subscription lifecycles, webhook events, and tax calculation. Covers idempotent webhook handling, PCI compliance patterns, refund processing, and RevenueCat integration for mobile subscriptions.
Use it when
- payment-integration addresses both approaches: Stripe Elements gives you UI component control for custom payment forms with client-side.
- payment-integration covers reliable webhook handling by implementing idempotency keys to safely retry failed events without duplicate.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
travisjneuman/.claude/payment-integration · repository language: JavaScript
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How to integrate Stripe payments into my web or mobile app?
payment-integration enables Stripe integration through Checkout, Elements, and PaymentIntents APIs. For web apps, use Stripe Checkout for hosted payment pages or Elements for custom forms. Mobile apps can leverage PaymentIntents with native SDKs or RevenueCat for subscription management. The skill covers secure token handling, PCI-compliant flows that avoid raw card data, and test card setup for development.
What's the difference between Stripe Elements vs Checkout?
payment-integration addresses both approaches: Stripe Elements gives you UI component control for custom payment forms with client-side tokenization, while Checkout provides a pre-built, hosted payment page requiring minimal setup. Elements suits custom branding; Checkout prioritizes security and conversion. Both avoid handling raw card data. Choose Elements for full design control or Checkout for faster, lower-friction deployments.
How do I build webhook handlers with idempotency and error handling?
payment-integration covers reliable webhook handling by implementing idempotency keys to safely retry failed events without duplicate processing. Store event IDs to detect replays, validate webhook signatures using Stripe's signing secret, and handle transient failures with exponential backoff. Log all webhook activity for audit trails. This prevents double-charging, duplicate subscriptions, and race conditions in payment state updates.
How can I set up usage-based or metered billing with Stripe?
payment-integration explains metered billing by creating usage records tied to subscription items, then letting Stripe calculate charges at invoice time. Configure meter events, set billing thresholds, and handle proration when customers change plans mid-cycle. The skill covers tax calculation integration and invoice tracking to ensure accurate recurring and usage-based charges.
What are Stripe API security best practices for payment processing?
payment-integration emphasizes PCI compliance by never handling raw card data—always use tokenized payment methods via Elements or Checkout. Store API keys securely (never in client code), validate webhook signatures server-side, use HTTPS for all requests, and implement rate limiting. Rotate secrets regularly and audit access logs. Follow least-privilege principles for API key scopes.
How do I enable customer self-service billing and handle failed payments?
payment-integration covers customer portals for self-service invoice access, payment method updates, and subscription management. Implement dunning workflows to retry failed payments with exponential backoff, notify customers of issues, and offer alternative payment methods. Use Stripe's billing portal or build custom flows. Track invoice status and automate retry schedules to reduce churn.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Payment Integration
Overview
This skill covers implementing payment processing and subscription billing in web and mobile applications. It addresses Stripe integration (Checkout, Elements, PaymentIntents), subscription lifecycle management, webhook handling with idempotency, PCI compliance, metered and usage-based billing, tax calculation, refund processing, and RevenueCat for mobile subscriptions.
Use this skill when adding payment processing, building subscription billing, handling Stripe webhooks, implementing pricing pages, managing payment failures, or integrating mobile in-app purchases.
Core Principles
- Never handle raw card data - Use Stripe Elements or Checkout to keep card numbers off your servers entirely. This keeps you at PCI SAQ-A (the simplest compliance level) rather than SAQ-D.
- Webhooks are the source of truth - Never trust client-side payment confirmation. A successful PaymentIntent on the client means nothing until your webhook handler confirms
payment_intent.succeeded. Build your system around webhook
(truncated - see the full file via the links below)
File tree — 1 file
skills/payment-integration/SKILL.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Integrate Stripe payment processing and subscription billing into web/mobile apps”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Web Payments provides patterns for adding Stripe to web applications, covering one-time payments, recurring subscriptions, and hosted or embedded checkout experiences. It includes server setup, webhook verification for secure payment confirmation, and client-side integration examples.
Stripe Stack Skill equips you with battle-tested integration patterns for adding payments, subscriptions, and credit systems to Next.js + Supabase applications. It covers webhook setup with database-backed idempotency, test-to-live mode transitions, and secure key management—everything needed to move from development to production safely.
This skill walks you through Stripe configuration for subscription-based SaaS, from initial setup through production launch. Learn to structure pricing tiers, implement webhook handlers for subscription events, configure the Customer Portal, and recover failed payments through dunning sequences. Covers tax compliance, testing checklists, and the business decisions that prevent billing bugs from eroding customer trust.
This skill provides a complete Stripe integration for SaaS applications, covering checkout sessions, subscription management, and secure webhook handling. It includes TypeScript and Python implementations with customer portal setup and payment event processing.
Connect your app to Stripe, PayPal, or Square for complete payment handling. The skill covers checkout flows, subscription billing, refunds, and webhook processing with built-in security practices and error handling.
This skill guides you through migrating your payment operations to Polar from competing platforms like Stripe Billing, Paddle, Lemon Squeezy, and Gumroad. It covers data mapping, customer import, subscription creation, webhook setup, and strategies for hard cutover or gradual parallel operation to minimize revenue disruption.
More skills stripe-payments (MIT) · stripe (Apache-2.0) · saas-platforms (MIT) · subscription-billing (MIT) · billing-management (Apache-2.0) · woocommerce-subscriptions (MIT) · multi-currency (MIT) · revenue-recognition-accounting (MIT)