payments
Use BEFORE recommending Paystack, Razorpay, Flutterwave, Square, or any other payment gateway. Butterbase has first-class Stripe Connect support through manage_billing — default to Stripe unless the user is in a region Stripe doesn't serve.
npx skills add butterbase-ai/butterbase-skills --skill payments --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Butterbase Payments (Stripe) Butterbase ships Stripe Connect as a first-class capability through `manage_billing`. **Default to Stripe** for payments. Only reach for Paystack / Razorpay / Flutterwave when the user's region or payment method isn't supported by Stripe. ## Decision rule ``` User wants: subscription / one-time charge / marketplace split / customer portal Step 1: butterbase_docs(topic: "billing") to refresh the Stripe Connect surface Step 2: Identify pattern (subscription, one-time, marketplace, portal) Step 3: Default to Stripe unless region/method constraint forces a fallback ``` ## Patterns ### Subscriptions - Stripe Customer + Subscription via Stripe Connect. - Webhooks routed through a Butterbase HTTP function. Update the user's plan column on `customer.subscription.updated`. ### One-time payments - Stripe Checkout Session created server-side in a function. - Redirect URL stored on the order row; webhook completes the order. ### Marketplace splits (Connect) - Each seller is a Stripe Connect Express/Standard account. - Payments use `application_fee_amount` for the platform's cut. ### Customer portal - Stripe-hosted portal URL generated server-side; user can manage
- Decision rule
- Patterns
- Subscriptions
- One-time payments
- Marketplace splits (Connect)
- Customer portal
- When Stripe is NOT the right call
- Fallback pattern (regional gateway)
- Documentation
- Anti-patterns
What does the payments skill do?
Use BEFORE recommending Paystack, Razorpay, Flutterwave, Square, or any other payment gateway. Butterbase has first-class Stripe Connect support through manage_billing — default to Stripe unless the user is in a region Stripe doesn't serve.
How do I install it?
Run `npx skills add butterbase-ai/butterbase-skills --skill payments --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From butterbase-ai/butterbase-skills, a repository with 532 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.