order-processing-pipeline

Implement order state machines with webhook-driven transitions across Shopify, WooCommerce, and BigCommerce.

3|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill order-processing-pipeline-tomtoto757
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: order-processing-pipeline
Source: https://github.com/tomtoto757/ecomm-ai-team/tree/main/skills/checkout-payments-tax/finsilabs/payments-checkout/order-processing-pipeline
Command: npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill order-processing-pipeline-tomtoto757

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Ecommerce orders frequently suffer from inconsistent statuses, duplicate webhook processing, and broken fulfillment handoffs when payment, shipping, and ERP systems are not wired to the correct order transitions. ## Core Features & Use Cases - Platform Configuration Guides: Step-by-step setup of order status flows, fulfillment apps, and webhooks for Shopify, WooCommerce, and BigCommerce. - Custom State Machine Implementation: JavaScript code for explicit transition validation, atomic database transactions, and append-only event logs for headless storefronts. - Edge Case Handling: Idempotency guards for duplicate webhooks, correct inventory deduction timing, and partial fulfillment cancellation patterns. - Use Case: A store's orders get double-confirmed because Stripe delivers duplicate payment webhooks. Use this Skill to add a status check before each transition so the second webhook is safely ignored and inventory is deducted exactly once. ## Quick Start Ask the AI to implement an idempotent order state machine with webhook handlers that move orders from pending through payment, fulfillment, and delivery.

Frequently Asked Questions about order-processing-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an order state machine for an ecommerce store?▼

Define valid transitions between states like pending, confirmed, processing, shipped, and delivered, then validate every status change against that map before writing to the database. Wrap the status update and event log insert in a single atomic transaction.

How to handle duplicate Stripe payment webhooks?▼

Check the current order status before processing a transition; if the order is no longer pending, return early without applying changes. This idempotency guard prevents double confirmation and duplicate inventory deduction when Stripe redelivers events.

Does this order pipeline work with Shopify and WooCommerce?▼

Yes, the Skill covers Shopify, WooCommerce, BigCommerce, and custom headless setups. It documents each platform's native order statuses, transition mechanisms, fulfillment app connections, and webhook configuration steps.

Why is my WooCommerce order stuck in pending payment after PayPal?▼

This usually means PayPal IPN (Instant Payment Notification) is not enabled in your PayPal account. Verify the IPN URL under WooCommerce Settings, Payments, PayPal so payment confirmations reach the store.

When should inventory be deducted in the order lifecycle?▼

Deduct inventory only after payment is confirmed, at the confirmed transition, not when the order is placed. Deducting earlier risks indefinite inventory reservation when payments fail.

When do I need a custom order state machine instead of platform tools?▼

Custom state machine code is only needed for headless storefronts or complex multi-step B2B workflows that platforms cannot handle natively. Shopify, WooCommerce, and BigCommerce already manage the core payment to delivery flow correctly.