Checkout promises are a warehouse contract
Shipping promises, tax and the last unit of stock are decided before the pay button, from ERP data, not from the theme. Each value the buyer accepts at checkout is work the warehouse and finance have to deliver: a unit that exists, a dispatch date the 3PL can meet, a tax amount the invoice will match. Take those values from the ERP and the 3PL, and test them like code.
4 min read Read the essay





