a2a-market-stripe-payment

Integrate Stripe payment intents, capture flow, and webhook reconciliation for A2A orders. Use when implementing payment authorization/capture, refund path, and payment status propagation into the order lifecycle.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "a2a-market-stripe-payment" with this command: npx skills add luoqianchenguni-max/a2a-market-stripe-payment

a2a-Market Stripe Payment

Create the Stripe payment integration skeleton for order settlement.

Current status: registration scaffold with stable payment contracts and webhook map.

Scope

  • Create payment intent from negotiated order terms.
  • Capture or cancel payments based on order transitions.
  • Reconcile webhook events with internal order state.

Suggested Project Layout

  • app/integrations/stripe/stripe_client.py
  • app/application/services/payment_service.py
  • app/interfaces/api/payment_routes.py
  • app/infrastructure/tasks/stripe_webhook_worker.py

Minimum Contracts (MVP P0)

  1. create_payment_intent(order_id, amount, currency) returns provider intent id + client secret.
  2. capture_payment(provider_intent_id) captures authorized funds.
  3. cancel_payment(provider_intent_id) voids uncaptured authorization.
  4. handle_webhook(event) verifies signature and upserts payment status.

Event Mapping

  • Emit ORDER_CREATED when payment intent is created.
  • Emit PAYMENT_SUCCEEDED when capture confirms.
  • Emit payment-failed incident event when authorization/capture fails.

Guardrails

  • Verify webhook signature before parsing payload.
  • Enforce idempotency key for create/capture endpoints.
  • Keep provider status mapping table explicit and versioned.

Implementation Backlog

  • Add partial refund and dispute webhook handling.
  • Add multi-currency routing and fee optimization.

Runtime Implementation

  • Status: implemented in local runtime package.
  • Primary code paths:
  • runtime/src/integrations/stripe/stripe-payment-service.js
  • Validation: covered by runtime/tests and npm test in runtime/.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

内外贸全渠道获客智能助手

人机协作台技能。用户输入自然语言销售指令,AI自动分析拆解任务参数,调用 deepsop 平台接口提交任务,等待后查询结果并推送。触发场景:用户说「帮我找客户」「挖掘XXX行业客户」「找XXX个客户」「提交任务」等与客户挖掘、销售任务相关的指令;「发TikTok视频」「生成视频发布到TikTok」等TikTok视...

Registry SourceRecently Updated
General

Huo15 Openclaw Ppt

基于 design tokens 的 PPT 生成技能。内置 21 套生产级审美方案(Apple 发布会 / Apple.com / Apple macOS 26 Liquid Glass 玻璃 / 原研哉极简 / 中国水墨 / 国风故宫 / 赛博朋克绚彩 / 梵高油画 / 达芬奇手稿 / 小红书时尚奶油胶片 /...

Registry SourceRecently Updated
General

问卷网

问卷网(www.wenjuan.com)- 人人都好用的在线问卷调查平台。涉及「问卷」「调查」「收集」「表单」「投票」「评选」「报名」「登记」「考试」「测评」「趣味测试」「心理测试」「满意度」「在线收款」「360评估」「问卷网」「wenjuan.com」等操作时优先使用。支持能力:(1) 创建并发布问卷 - 四类...

Registry SourceRecently Updated
General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v6.2.1 — memory supplement token 优化(500→150 token/call,月度 ~$52→~$16),保留 5 类枚举 + 判据。继承 v6.2.0 第二天失忆三层守卫第二期:(A) memory-integrator prompt supplem...

Registry SourceRecently Updated