Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

stripe-best-practices

bởi ifoster01

Transportation
1.5kLượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Best practices for building Stripe payment integrations.

Mô tả

Kỹ năng này làm gì

A knowledge skill that encodes Stripe's recommended integration patterns, deprecated API warnings, and decision rules for payments, subscriptions, and Connect platforms. It guides agents toward current Stripe APIs and away from legacy ones like Charges API, Card Element, and Sources API.

Encoding these rules in a skill prevents agents from defaulting to outdated Stripe APIs that Stripe itself recommends against, which can cause compliance issues and integration debt.

Khi nào nên dùng

  • Choosing between CheckoutSessions and PaymentIntents for a new checkout flow
  • Setting up recurring billing for a SaaS product
  • Migrating an existing integration off the deprecated Charges API
  • Building a marketplace with Connect and selecting the right charge type
  • Saving a customer payment method without an immediate charge

Quy trình ví dụ

ĐẦU VÀO

User asks: I want to add subscription billing to my SaaS app

AGENT
  1. 1

    Identifies recurring revenue use case and applies Billing APIs preference

  2. 2

    Recommends Stripe Billing APIs combined with Checkout frontend

  3. 3

    Advises against raw PaymentIntents for subscription management

  4. 4

    Suggests Stripe-hosted Checkout as the default frontend unless more control is needed

  5. 5

    References stripe:billing/design-integration for integration planning

ĐẦU RA

A recommended integration approach using Stripe Billing APIs and Checkout, with links to relevant Stripe docs

Yêu cầu

  • Stripe account
  • Stripe API keys

Cài đặt

clawhub install ifoster01/stripe-best-practices

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết