web-payments
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.
Web Payments integrates Stripe checkout, subscriptions, and webhooks into web applications.
AI-generated summary based on this skill's SKILL.md
Install
alinaqi/maggy/web-payments · repository language: Python
git clone https://github.com/alinaqi/maggy
cp -r maggy/skills/web-payments ~/.claude/skills/web-paymentsnpx skillfed install alinaqi/maggy/web-paymentsFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How to integrate Stripe payments into a web application?
Web Payments provides patterns for adding Stripe to web applications with server setup and client-side integration examples. The skill covers creating payment intents, initializing Stripe on the client, and handling payment confirmations. Start by setting up your Stripe API keys, then use Web Payments' patterns to create checkout flows that match your application's needs, whether one-time or recurring.
What does Web Payments cover for subscription billing?
Web Payments includes patterns for implementing subscription billing with Stripe, covering recurring charge setup, subscription lifecycle management, and billing portal integration. The skill demonstrates how to create subscription plans, handle subscription state changes, and manage customer billing preferences through Stripe's hosted portal or custom interfaces.
How do you verify Stripe webhook signatures with Web Payments?
Web Payments provides webhook verification patterns to securely confirm that payment events come from Stripe. The skill shows how to validate webhook signatures using your endpoint secret, ensuring payment confirmations are authentic before updating your database. This protects against forged requests and maintains transaction integrity.
Can Web Payments help build checkout UI with Stripe Checkout?
Yes, Web Payments covers building checkout experiences using both Stripe Checkout and Payment Element. The skill includes patterns for hosted checkout redirects and embedded payment forms, allowing you to choose between Stripe-hosted pages or custom-branded checkout flows integrated directly into your application.
What payment methods does Web Payments support?
Web Payments supports Stripe's full payment method ecosystem through integration patterns. This includes cards, digital wallets, bank transfers, and regional payment methods available through Stripe. The skill demonstrates how to configure which methods appear in your checkout based on customer location and your business needs.
How does Web Payments handle failed payments?
Web Payments provides patterns for detecting and responding to payment failures through webhook events and status checks. The skill shows how to track failed payment states, retry logic for recoverable failures, and customer communication flows. Webhook verification ensures you reliably capture all payment events for proper error handling.
SKILL.md
rendered from the published skill — quoted content, verbatim
Web Payments Skill (Stripe)
For integrating Stripe payments into web applications - one-time payments, subscriptions, and checkout flows.
Sources: Stripe Checkout | Payment Element Best Practices | Building Solid Stripe Integrations | Subscriptions
Setup
1. Create Stripe Account
- Go to https://dashboard.stripe.com/register
- Complete business verification
- Get API keys from https://dashboard.stripe.com/apikeys
2. Environment Variables
```bash
.env
STRIPE_SECRET_KEY=sk_test_xxx # Server-side only STRIPE_PUBLISHABLE_KEY=pk_test_xxx # Client-side safe STRIPE_WEBHOOK_SECRET=whsec_xxx # For webhook verification
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
skills/web-payments/SKILL.md