From acp-agentic-commerce
Implements ACP order lifecycle management with status tracking, order_created/updated webhook emission using HMAC-SHA256 signatures, fulfillment updates, and post-purchase adjustments like refunds.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin acp-agentic-commerceThis skill is limited to using the following tools:
**Fetch live docs**:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
Fetch live docs:
site:github.com agentic-commerce-protocol rfcs orders for the orders RFChttps://developers.openai.com/commerce/guides/key-concepts/ for order lifecycle detailssite:github.com agentic-commerce-protocol examples orders for order webhook examplessite:docs.stripe.com agentic-commerce webhook for Stripe webhook guidanceAfter checkout completion, the order moves through these statuses:
created → confirmed → manual_review → processing → shipped → delivered
| | | | | |
+─────────+────────────+──────────────+────────────+──────────+→ canceled
7 statuses:
created — Order placed, payment capturedconfirmed — Merchant acknowledged the ordermanual_review — Requires human review (fraud, compliance)processing — Being prepared for fulfillmentshipped — Handed to carrier (physical) or access granted (digital)delivered — Buyer received the goodscanceled — Order canceled at any stageMerchants emit two event types to the agent platform:
order_created — Fired after successful checkout completionorder_updated — Fired on any order status change or updateEach webhook event contains:
All webhook events MUST be signed:
Merchant-Signature (or as specified in the latest spec)ACP supports adjustments after order creation:
| Type | Description |
|---|---|
refund | Full refund |
partial_refund | Partial amount refund |
store_credit | Refund as store credit |
return | Buyer returns goods |
exchange | Swap for different item |
cancellation | Order cancellation |
dispute | Buyer disputes charge |
chargeback | PSP-initiated chargeback |
Each adjustment has its own status: pending, completed, failed.
The order contains:
id — Unique order identifiercheckout_session_id — Links back to the checkout sessionpermalink_url — Buyer-facing order pageorder_created immediately after payment captureorder_updated for every status transitionFetch the orders RFC and webhook examples from the GitHub repo for exact event shapes, signature format, and field definitions before implementing.