stripe-integration
Stripe payment integration for checkout, subscriptions, webhooks, and Connect marketplace patterns. Use when implementing Stripe payments, handling payment webhooks, or building subscription billing systems. Covers dual confirmation (webhook + frontend), mobile payment verification, 100% promo code handling, and idempotent payment operations.
Why use this skill?
Learn to integrate Stripe payments, subscriptions, and Connect marketplaces using the OpenClaw AI agent skill. Robust, PCI-compliant payment handling.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/anton-abyzov/sw-stripe-integrationWhat This Skill Does
The Stripe Integration skill provides a comprehensive toolkit for managing payment lifecycles within your application using the OpenClaw AI agent. It abstracts the complexity of Stripe's API, enabling developers and business operators to implement secure, PCI-compliant payment flows ranging from simple checkout pages to complex marketplace architectures with Stripe Connect. The skill handles the critical heavy lifting of payment intent lifecycle management, webhook verification, subscription recurring billing logic, and customer data synchronization. It is specifically designed to enforce idempotent operations, ensuring that network retries or duplicate webhooks do not result in double-charging or inconsistent database states.
Installation
To integrate this skill into your environment, run the following command in your terminal:
clawhub install openclaw/skills/skills/anton-abyzov/sw-stripe-integration
Ensure your Stripe Secret API keys and Webhook signing secrets are properly configured in your agent environment variables before executing the first transaction.
Use Cases
- SaaS Subscription Billing: Automate user upgrades, downgrades, and cancellations, ensuring billing cycles align with product changes.
- Marketplace Platforms: Utilize Stripe Connect to facilitate transactions between third-party sellers and buyers, handling destination charges and complex payout structures.
- E-commerce Checkout: Rapid deployment of Stripe-hosted Checkout sessions for rapid time-to-market, or custom UI implementations for brand-aligned checkout experiences.
- B2B Service Payments: Utilizing Setup Intents to capture customer payment methods for future invoicing or automated recurring service charges.
Example Prompts
- "Analyze my current webhook logs and implement a verification handler for checkout.session.completed events to ensure our database reflects paid status correctly."
- "Create a new subscription billing tier for our professional plan with a 14-day trial period and automated email follow-ups for failed payments."
- "Set up a Destination Charge flow using Stripe Connect where the platform takes a 10% commission on every transaction processed by our sellers."
Tips & Limitations
- Security: Always rely on webhooks for the source of truth regarding payment status rather than frontend callback URLs, which are easily spoofed.
- Idempotency: Always use idempotency keys when making API requests to Stripe to prevent duplicate charges during transient network failures.
- SCA Compliance: If your users are in Europe, ensure your implementation handles Strong Customer Authentication by correctly using the Payment Intents API to trigger 3D Secure challenges when required.
- Connect Limitation: Be aware of the 'Direct Charge Webhook Gap'—ensure you are listening to the correct account endpoints depending on whether you are using Direct or Destination charges to avoid missing critical payment events.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-anton-abyzov-sw-stripe-integration": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api
Related Skills
network-engineer
Cloud network architect for VPC design, service mesh, zero-trust networking, load balancers, and CDN optimization. Use for network troubleshooting or connectivity issues.
jira-multi-project-mapper
Expert in mapping SpecWeave specs to multiple JIRA projects with intelligent project detection and cross-project coordination. Use when syncing to multiple JIRA projects (project-per-team, component-based), or managing bidirectional sync across team boundaries.
helm-chart-scaffolding
Design, organize, and manage Helm charts for templating and packaging Kubernetes applications with reusable configurations. Use when creating Helm charts, packaging Kubernetes applications, or implementing templated deployments.
performance-optimization
React Native performance with Hermes V1, FlashList, expo-image v2, concurrent rendering. Use for slow app, memory leaks, or FPS issues.
release-strategy-advisor
Release strategy advisor - detects brownfield patterns (tags, CI/CD, changelogs), recommends versioning strategy based on architecture. Creates release-strategy.md.