一键导入
payment-integration
Stripe payment integration skill for DZIRE_v1. Handles Checkout sessions, webhook verification, customer management, and payment security.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Stripe payment integration skill for DZIRE_v1. Handles Checkout sessions, webhook verification, customer management, and payment security.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build and extend the personalization system. Use when adding behavior tracking, user preferences, personalized feeds, or privacy controls.
Build and extend the recommendation engine. Use when adding related posts, trending, personalized feeds, or saved posts.
Build and extend the search system. Use when adding search routes, indexing, ranking, filters, or search analytics.
Seo Keyword Research capability
Affiliate click and conversion tracking skill for DZIRE_v1. Records clicks, attributes conversions via session/click ID, and manages payout records.
Revenue analytics and MRR/ARR reporting skill for DZIRE_v1. Aggregates subscription, affiliate, and sponsor revenue into summary metrics.
| name | payment-integration |
| description | Stripe payment integration skill for DZIRE_v1. Handles Checkout sessions, webhook verification, customer management, and payment security. |
| category | monetization |
| version | v1.0 |
| inputs | ["user request","Stripe API credentials (test mode)"] |
| outputs | ["Stripe checkout session URL","Webhook event handling","Customer and payment records"] |
Integrate Stripe payments into DZIRE_v1 using test mode.
from app.payments.services import create_checkout_session
from app.payments.schemas import CheckoutSessionRequest
req = CheckoutSessionRequest(price_id="price_...", user_id=user_id)
result = await create_checkout_session(db, user_id, email, req)
# Redirect user to result["url"]
Register POST /api/payments/webhook as your Stripe webhook endpoint.
Use stripe listen --forward-to localhost:8000/api/payments/webhook for local dev.