Back to blog

How to keep ecommerce stable during ERP replacement

Keep ecommerce orders, inventory, pricing and payments stable during ERP replacement with phased cutover, reconciliation, monitoring and recovery controls.

How to keep ecommerce stable during ERP replacement

Replacing an ERP while ecommerce remains live changes the systems controlling orders, inventory, prices, invoices and customer credit. For stores that cannot tolerate an ERP outage, phased coexistence can reduce cutover risk. A brief controlled outage may be simpler for smaller operations.

The plan must reflect the sales model. B2C prepaid orders, B2B credit sales, marketplaces, subscriptions and regulated invoices need different controls. Document transaction volumes, warehouses, payment timing, tax regions, channels and recovery targets before choosing the migration pattern.

Define ownership across the full lifecycle

Create an authority matrix for each migration phase. Include the old and new ERP plus every relevant PIM, OMS, WMS, payment provider, tax engine, CRM and marketplace.

For each object, record:

  • the system of record and allowed writers
  • the command initiator and state-transition owner
  • synchronization direction and freshness target
  • conflict rules and degraded-mode behavior

Ownership can change during an order lifecycle. Ecommerce may create the order. A payment provider owns payment state. The ERP may approve credit. A WMS may allocate and ship stock.

Separate inventory concepts such as on-hand, allocated, reserved, inbound and safety stock. Define the available-to-promise formula by SKU and location. Revalidate availability at checkout, expire abandoned reservations and set a maximum feed age. If data exceeds that limit, reduce available stock or stop selling the affected item.

Pricing needs similar rules. Define effective dates, currencies, tax basis, promotion precedence and rounding. Set cache limits and revalidate totals before payment. Decide in advance whether the business will honor a stale displayed price.

An integration layer can route requests between both ERPs while preserving a stable storefront contract. It still needs explicit mappings for units, bundles, discounts, customer hierarchies and status models. Microsoft's Strangler Fig guidance treats this facade as transitional architecture that may be removed after migration. Keep it only if its routing, observability and contract management provide lasting value. (learn.microsoft.com)

Keep order intake independent

A successful checkout should be acknowledged only after the order is durably committed. Store the order and an outbox record in one database transaction. A relay or change data capture process can then publish the event with at-least-once delivery. Consumers must deduplicate messages using stable business identifiers because duplicate delivery remains possible. (docs.aws.amazon.com)

Configure queue retention, backups, dead-letter handling and recovery objectives. Repeated failures need an operated exception queue with named owners and resolution deadlines.

Order idempotency does not prevent duplicate charges. Use a stable payment-attempt key with the payment provider. Track authorization, capture, refund and webhook states separately. Provide a recovery process for cases where payment succeeds but the order response fails. Payment events should be processed server-side because browser redirects can be interrupted. (docs.stripe.com)

During degraded operation, tell customers whether the order is confirmed or only received. Avoid promising delivery until stock and downstream validation are complete. Customer service must be able to locate queued orders and notify buyers about delays or rejection.

Run both systems without creating two masters

Use shadow processing to compare results, not to conduct live business twice. Replay orders in an isolated tenant or simulation. Disable invoices, fulfillment, emails, stock reservations, credit updates and accounting postings.

Build a risk-based sample that covers promotions, customer pricing, bundles, currencies, tax regions, rounding, backorders, cancellations, returns, refunds, partial shipments, fraud holds and peak volume.

Reconcile order counts and financial totals by currency. Compare tax, shipping, payment states and inventory deltas by SKU and location. Duplicate orders, missing identifiers, currency differences and ledger imbalance should have zero tolerance. Route every exception to an owner and retain evidence of its resolution.

Include transactions that cross the cutover boundary. These include open orders, pending authorizations, unshipped lines, legacy returns, credit notes, subscriptions and gift-card balances.

Make cutover controlled and recoverable

Rehearse the runbook with production-like volumes. Define producer pauses, queue high-water marks, delta synchronization and read-write routing. Record named owners, timestamps, validation gates and go or no-go criteria. Microsoft also recommends practising cutover in a representative test environment before production. (learn.microsoft.com)

Define the point of no return. Before financial documents, payment captures or fulfillment events become irreversible, technical rollback may be possible. After that point, use forward recovery with compensating invoices, refunds, stock corrections and replicated identifiers.

Monitor queue age, processing latency, retries, dead letters, duplicate suppression and stock or price freshness. Add alerts for reconciliation mismatches and ERP errors. Protect temporary stores and queues with encryption, restricted access, audit logs, retention limits and secret rotation.

Before go-live, confirm ownership, data freshness limits, payment recovery, lifecycle coverage, reconciliation controls, operational monitoring and the forward-recovery plan. The replacement is ready only when business teams can operate safely during both normal processing and failure.

Let's talk about your project idea!

Tell us about your project. We’ll help you plan the architecture, scope, and execution.

Get in touch

© Webalize 2026