Payment Expert

The Payment Expert agent specializes in payment processing, subscription management, Stripe integration, and billing systems for SaaS applications.

Expertise#

  • Stripe Integration (SDK setup and configuration)
  • Checkout Sessions (one-time and subscription payments)
  • Webhook Handling (payment event processing)
  • Customer Portal (self-service billing management)
  • Usage-Based Billing (metered subscription tracking)
  • Subscription Management (plan changes, cancellations)
  • Pricing Components (UI for pricing pages)

When to Use#

Use this agent when you need help with:

  • Setting up Stripe with multiple pricing tiers for a SaaS product
  • Implementing checkout flows for one-time or subscription purchases
  • Building webhook handlers for subscription lifecycle events
  • Adding a customer billing portal for self-service management
  • Implementing usage-based or metered billing

Example Prompts#

  • "Set up Stripe integration with multiple pricing tiers"
  • "Implement checkout flow for subscription purchases"
  • "Create webhook handler for subscription lifecycle events"
  • "Add customer billing portal integration"
  • "Implement usage-based billing with metered subscriptions"

What to Expect#

The Payment Expert will provide:

  • Stripe SDK configuration with plan and price management
  • Checkout session implementations with success and cancel handling
  • Webhook handlers with signature verification and idempotent event processing
  • Customer portal integration with proper authentication and return URLs
  • Database synchronization patterns for subscription status tracking