Stripe Integration Guide
Software development skill, available on Zeplik
Stripe Integration Guide is a ready-to-run software development skill on Zeplik. Not for PayPal or other payment providers. Ask in plain language and Zeplik applies the skill's method for you inside the conversation, on whichever AI model you prefer.
The Stripe Integration Guide skill loads automatically when your request matches it, or you can invoke it directly by typing /stripe-integration in any chat. It works with attachments, connectors, and any model that supports the task, so you get the same expert method every time without setting anything up.
What the Stripe Integration Guide skill can do
- Generate checkout session code for one-time and subscription payments
- Build webhook handlers that verify signatures and process events idempotently
- Set up subscription billing with products, prices, and invoices
- Implement PCI-aware payment flows using Stripe-hosted UI or Elements
Try these prompts on Zeplik
Pick a prompt to open it in the Zeplik app. If you are not signed in yet, your prompt is waiting for you the moment you do.
How the Stripe Integration Guide skill works
/stripe-integration
Master Stripe payment processing integration for robust, PCI-compliant payment flows including checkout, subscriptions, webhooks, and refunds. Deliver working server and client code as chat artifacts in the user's stack; ask the user to paste their existing payment code when debugging.
When to Use This Skill
- Implementing payment processing in web/mobile applications
- Setting up subscription billing systems
- Handling one-time payments and recurring charges
- Processing refunds and disputes
- Managing customer payment methods
- Implementing SCA (Strong Customer Authentication) for European payments
- Building marketplace payment flows with Stripe Connect
Core Concepts
1. Payment Flows
Checkout Sessions
- Recommended for most integrations
- Supports all UI paths:
- Stripe-hosted checkout page
- Embedded checkout form
- Custom UI with Elements (Payment Element, Express Checkout Element) using
ui_mode='custom'
- Provides built-in checkout capabilities (line items, discounts, tax, shipping, address collection, saved payment methods, and checkout lifecycle events)
- Lower integration and maintenance burden than Payment Intents
Payment Intents (bespoke control)
- You calculate the final amount with taxes, discounts, subscriptions, and currency conversion yourself
- More complex implementation and long-term maintenance burden
- Requires Stripe.js for PCI compliance
Setup Intents (save payment methods)
- Collect a payment method without charging
- Used for subscriptions and future payments
- Requires customer confirmation
2. Webhooks
Critical events:
payment_intent.succeeded: payment completedpayment_intent.payment_failed: payment failedcustomer.subscription.updated: subscription changedcustomer.subscription.deleted: subscription canceledcharge.refunded: refund processedinvoice.payment_succeeded: subscription payment successful
Always verify webhook signatures with the endpoint's signing secret before trusting the payload, respond 2xx quickly, and make handlers idempotent (Stripe retries).
3. Subscriptions
Components:
- Product: what you're selling
- Price: how much and how often
- Subscription: customer's recurring payment
- Invoice: generated for each billing cycle
4. Customer Management
- Create and manage customer records
- Store multiple payment methods
- Track customer metadata
- Manage billing details
PCI Awareness
- Card numbers must never touch your server: use Stripe-hosted Checkout, Elements, or mobile SDKs so card data goes directly to Stripe
- Keep secret keys server-side only; the browser gets only the publishable key and client secrets
- Never log full card numbers, CVCs, or raw webhook secrets
Quick Start
import stripe
stripe.api_key = "sk_test_..."
# Create a checkout session
session = stripe.checkout.Session.create(
line_items=[{
'price_data': {
'currency': 'usd',
'product_data': {
'name': 'Premium Subscription',
},
'unit_amount': 2000, # $20.00
'recurring': {
'interval': 'month',
},
},
'quantity': 1,
}],
mode='subscription',
success_url='https://yourdomain.com/success?session_id={CHECKOUT_SESSION_ID}',
cancel_url='https://yourdomain.com/cancel'
)
# Redirect user to session.url
print(session.url)
Testing
# Use test mode keys
stripe.api_key = "sk_test_..."
# Test card numbers
TEST_CARDS = {
'success': '4242424242424242',
'declined': '4000000000000002',
'3d_secure': '4000002500003155',
'insufficient_funds': '4000000000009995'
}
def test_payment_flow():
"""Test complete payment flow."""
# Create test customer
customer = stripe.Customer.create(
email="[email protected]"
)
# Create payment intent
intent = stripe.PaymentIntent.create(
amount=1000,
automatic_payment_methods={
'enabled': True
},
currency='usd',
customer=customer.id
)
# Confirm with test card
confirmed = stripe.PaymentIntent.confirm(
intent.id,
payment_method='pm_card_visa' # Test payment method
)
assert confirmed.status == 'succeeded'
Always develop against test mode keys, exercise the failure cards (declined, insufficient funds, 3D Secure) as well as the success path, and test webhook handling with Stripe's test events before going live.
Usage
/stripe-integration $ARGUMENTS
How to use the Stripe Integration Guide skill
Sign in to Zeplik
Create a free Zeplik account or sign in. New accounts start with free credits, so you can try the Stripe Integration Guide skill right away.
Describe your software development task
Ask in plain language, or type /stripe-integration to invoke the skill directly. Zeplik recognizes the Stripe Integration Guide skill and applies its method.
Review and refine the result
Zeplik returns a clear, structured answer. Ask follow-ups in the same chat to refine it or take the next step.
Source and credit
- Author
- wshobson
- License
- MIT
Adapted from the open-source wshobson/agents project and tuned to run natively on Zeplik. View source on GitHub.
Frequently asked questions
- What is the Stripe Integration Guide skill?
- Stripe Integration Guide is a ready-to-run software development skill on Zeplik. Not for PayPal or other payment providers. Ask in plain language and Zeplik applies the skill's method for you inside the conversation, on whichever AI model you prefer.
- How do I use Stripe Integration Guide on Zeplik?
- Sign in to Zeplik and ask in plain language, or type /stripe-integration in any chat to invoke it directly. The skill applies its method and returns a result you can refine in the same conversation.
- Which AI model does the Stripe Integration Guide skill use?
- Any model you choose. Zeplik works across every model in one chat, so the Stripe Integration Guide skill runs on your preferred model for the task.
- Where does the Stripe Integration Guide skill come from?
- The Stripe Integration Guide skill is adapted from the open-source wshobson/agents project (MIT) and tuned to run natively on Zeplik. The original source is linked on this page.
- How much does the Stripe Integration Guide skill cost?
- Using the skill is free to start. You only spend Zeplik credits when the assistant runs, and new accounts begin with free credits.
Related software development skills
- .NET BackendBuild ASP.NET Core 8+ backends with EF Core: auth, background jobs, production API patterns
- Advanced Git WorkflowsUse for advanced Git surgery: interactive rebase, cherry-pick, bisect, reflog recovery, and history cleanup before merging. Not for parallel worktree workflows (use using-git-worktrees).
- Adversarial Code ReviewHunt for bugs in code the user shares by assuming defects exist and attacking the code through several distinct lenses, then report severity-ranked findings with evidence. Use for "review this", "what could go wrong", "bug hunt", or pre-merge scrutiny of a change. Read-only, it reports problems and does not rewrite the code. Not for style cleanup (use simplify-code) or for writing new code.
- AI Agent FrameworksUse when building multi-agent systems or agent orchestration -- LangChain/LangGraph, agent team design, task coordination, pipelines. Not for authoring a Zeplik skill (use skill-creator).
- Algolia SearchAdd Algolia search: indexing strategies, React InstantSearch, relevance tuning, search-as-you-type
- Android CI/CDAutomate Android CI/CD to Google Play: keystore, GitHub Secrets, multi-stage release workflow for RN, Flutter, native
More on Zeplik
- Stripe integrationConnect Stripe so the assistant can read and act in your account while this skill runs.
- Every AI model, one chatRun Stripe Integration Guide on GPT, Claude, Gemini, Grok and hundreds more; browse them all with live pricing.
- 997 integrationsConnect the apps you already use so skills can work with your real data.
Try Stripe Integration Guide on Zeplik
Every model, one chat. Bring the Stripe Integration Guide skill into your next conversation and let the assistant do the work.