Skip to main content

checkout-implementation

Implements Stripe payment flows -- Checkout Sessions, Payment Element, subscription signup, and customer reuse. Use when the user wants to "add checkout", "build a payment flow", "integrate Stripe payments", "add a paywall", or "subscription signup". For conversion analysis, see checkout-conversion.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
appeeky/stripe-skills
آخر نشاط في المصدر
١٩ يوليو ٢٠٢٦ في ١٠:١٠
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٥
التفرعات
١

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
checkout-implementation
description
Implements Stripe payment flows -- Checkout Sessions, Payment Element, subscription signup, and customer reuse. Use when the user wants to "add checkout", "build a payment flow", "integrate Stripe payments", "add a paywall", or "subscription signup". For conversion analysis, see checkout-conversion.
metadata
{"version":"1.0.0"}
# Checkout Implementation Builds Stripe payment flows matched to the project stack. ## Choose the approach | Need | Use | |------|-----| | Fastest, hosted | Stripe Checkout (`checkout.sessions.create`) | | Embedded, custom UI | Payment Element + PaymentIntent/SetupIntent | | Recurring | subscription mode | ## Checkout Session essentials - mode: subscription - line_items: price + quantity - customer OR customer_email (reuse existing customer to avoid dupes) - success_url / cancel_url - allow_promotion_codes: true - subscription_data metadata: user_id - automatic_tax enabled (if using Stripe Tax) ## Critical rules - **Reuse customer**: check for existing `stripe_customer_id`; for plan changes use `subscriptions.update` (proration), never a 2nd subscription - Pass `user_id` in metadata for webhook provisioning - Server-side price validation (whitelist price IDs) ## Verify `stripe_implementation_planner` (MCP) for architecture; test with test cards; confirm via `webhook-implementation`.
عرض على GitHub