Skip to main content

Automated Shopify order reconciliation system

We've introduced a robust Shopify reconciliation system to solve the critical problem of missing orders when webhooks fail or are delayed. This new system acts as a safety net, ensuring no Shopify orders slip through the cracks even when real-time webhook delivery encounters issues.

The reconciliation system works by periodically scanning Shopify's API for orders created within specific time windows and comparing them against what's already in Endless Commerce. When it finds orders that exist in Shopify but not in our system, it automatically imports them. This creates a dual-layer protection system - real-time webhooks for immediate processing, backed by scheduled reconciliation for guaranteed order capture.

The system uses a sophisticated scheduling mechanism with configurable time windows (defaulting to one-hour intervals) and includes a dry-run mode for safe testing before going live. Each integration can be configured independently, allowing for gradual rollout and fine-tuned control over when and how often reconciliation runs.