There is one used gun in the case. A customer asks to buy it at the counter. Someone else has its product page open on your website. It is also listed on GunBroker.

Each screen can honestly show the item as available when it loads. The trouble starts when one buyer commits and the other screens have not caught up. Now the shop has to explain why something it offered is no longer available.

Preventing that situation is an inventory problem, an order problem and a timing problem. In MFS Exchange, the register and website work from WooCommerce inventory, while GunBroker communicates with the shop through a separate service. That boundary matters.

On the shelf does not always mean available

A stock count answers how many units the system records. Availability asks a more specific question: can this unit be promised to another customer right now?

A gun may still be physically in the store while it belongs to an unfinished sale. For serialized inventory, the product and the individual serial both matter. Having another unit of the same model does not make a serial already assigned to an order available again.

This is why a reservation needs an owner. In WooPOS, resuming a held order accounts for that order’s own reserved serials separately from the serials available for a new sale. Otherwise the register could either reject the customer’s own item or treat someone else’s reserved item as free stock.

Releasing a reservation needs a reason, too. An abandoned unpaid order and an order with recorded payment are different situations. WooPOS checks those conditions before releasing an abandoned order’s serial reservations. Time passing by itself is not enough.

The button is a message. The server makes the decision.

Here is a fictional example. At 10:00, a shopper adds the gun to a website cart. At 10:02, the shop starts a GunBroker auction for it. At 10:03, the shopper returns to the cart and tries to check out.

Changing the product page cannot fix that old cart. The sale path has to check again.

For a product held by a live GunBroker auction, our integration changes WooCommerce’s purchase eligibility, checks additions to the cart and checks items already in the cart. In WooPOS, the auction rule also feeds the server-side sale check. The cashier gets a reason for the refusal, rather than having to infer it from a missing button.

Those checks address stale screens. They are a necessary layer, but a fresh check alone is not a universal lock across every system that can sell an item.

Fixed price and auctions need different rules

A fixed-price listing can share inventory with the store. When WooCommerce stock changes, the integration attempts a separate stock update through GunBroker’s API. For eligible fixed-price listings, depleted stock takes the listing through the ending workflow.

That separate request has to reach GunBroker and receive a response. Scheduled inventory checks also reconcile listings, but neither a direct update nor a frequent sync can make two separate systems change at exactly the same moment. Meanwhile, a marketplace buyer may be looking at the previous quantity. A sync interval, even a short one, is not a reservation.

GunBroker cannot participate in the same database transaction as a local register sale. We cannot turn those separate systems into one atomic checkout by calling the sync “real time.” Shared fixed-price stock therefore has a timing window. These safeguards reduce the risk; they do not promise zero conflicts between simultaneous buyers on different services.

A live auction gets a different treatment. Once the item is committed to that auction, MFS holds it out of local purchase. The website can still show the product and direct shoppers to the GunBroker auction, while the register refuses a competing sale. Normal stock and price updates also leave the running auction alone.

For a unique item, that is a meaningful change: local buyers are no longer competing to purchase it while the auction runs.

The end time is not permission to sell again

An auction’s displayed end time tells people when it is expected to finish. It does not tell the inventory system whether someone bought the item.

The integration checks GunBroker for the outcome as well as handling notifications. If the auction sold but the order has not arrived in WooCommerce, it records that intermediate state and keeps the item held. The cashier can see that it sold on GunBroker and is awaiting import.

When the order imports, payment and inventory remain separate questions. An unpaid GunBroker order is imported on hold, with stock reservation handling, rather than leaving the item available while the buyer finishes paying. A confirmed unsold result follows a different path so staff can decide what to do next.

The sequence matters. “Auction ended,” “item sold” and “order imported” are different facts. Treating them as one event would create a gap at exactly the wrong time.

An unanswered request is still unfinished work

A marketplace request can succeed even if its reply never reaches the shop. If a request to create a listing times out, sending another creation request immediately could produce two listings for one item.

Our integration records unresolved creation attempts and routes retries through reconciliation. An unresolved auction creation can keep local purchase blocked even before a listing ID has been confirmed. Cases that need a manager’s decision remain distinguishable from an ordinary retry.

That is the engineering behind this feature: stock counts, ownership, checks at the sale boundary and explicit handling for unfinished work. Each addresses a different way the same item could be promised twice.

For the shop, the useful result is understandable behavior: staff can see why an item is held, shoppers are directed to its auction, and a delayed marketplace response is not mistaken for permission to sell again. Our GunBroker Sync overview covers the listing and order tools; the point-of-sale overview shows how they fit into the counter workflow.

← All News