payments

Solid

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.

AI & Automation 424 stars 40 forks Updated today MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
88
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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 their own subscription/cards. ## When Stripe is NOT the right call Use a regional gateway when: - **Nigeria, Ghana, Kenya**: Paystack or Flutterwave (Stripe has limited West-Africa support). - **India**: Razorpay or PayU (Stripe India has constraints on use cases). - **Pakistan, Banglade...

Details

Author
butterbase-ai
Repository
butterbase-ai/butterbase-skills
Created
1 months ago
Last Updated
today
Language
N/A
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Solid

stripe-integration

Get paid from day one. Payments, subscriptions, billing portal, webhooks, metered billing, Stripe Connect. The complete guide to implementing Stripe correctly, including all the edge cases that will bite you at 3am. This isn't just API calls - it's the full payment system: handling failures, managing subscriptions, dealing with dunning, and keeping revenue flowing. Use when: stripe, payments, subscription, billing, checkout.

27,705 Updated today
davila7
AI & Automation Listed

stripe-best-practices

Best practices for building Stripe integrations. Covers payment processing, checkout flows, subscriptions, webhooks, Connect platforms, and Stripe API usage.

1 Updated today
varunk130
AI & Automation Solid

stripe-integration

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

36,222 Updated today
wshobson
Code & Development Solid

stripe-best-practices

Guides Stripe integration decisions — API selection (Checkout Sessions vs PaymentIntents), Connect platform setup (Accounts v2, controller properties), billing/subscriptions, Treasury financial accounts, integration surfaces (Checkout, Payment Element), migrating from deprecated Stripe APIs, and security best practices (API key management, restricted keys, webhooks, OAuth). Use when building, modifying, or reviewing any Stripe integration — including accepting payments, building marketplaces, integrating Stripe, processing payments, setting up subscriptions, creating connected accounts, or implementing secure key handling.

713 Updated 3 days ago
fcakyon
AI & Automation Listed

stripe-best-practices

Best practices for building Stripe integrations. Use when implementing payment processing, checkout flows, subscriptions, webhooks, Connect platforms, or any Stripe API integration.

335 Updated today
aiskillstore