blog·5 min read

An ordering portal for your hospitality customers, on Exact Online

Letting business customers order at their own price list without retyping that price list anywhere. What such a portal needs before it actually gets used.

My customers should be able to order themselves, at their own prices,
without me maintaining those prices anywhere else.

A drinks wholesaler with an off licence supplies bars and restaurants. Orders come in by phone, by chat and by mail, and someone retypes them into the accounting. Every order is work twice over, and every misheard name is a wrong line.

We built an ordering portal for that, on top of the accounting that was already there. It is live. The customer stays anonymous and there are no amounts, prices or margins here.

That such a portal exists is not the news. We wrote earlier about using an integration for more than invoices. This piece is about what had to be added afterwards before the portal was actually used.

What the customer sees

The portal runs on its own address. That is not a cosmetic choice: the hostname decides everything. On the portal address only the portal routes exist and everything else returns a 404, and on the regular admin address it is exactly the other way around. Customer accounts can therefore never end up somewhere else by accident, not even when a link or a bookmark is older than the last change.

The catalogue has three views: my price list, previously ordered and all products. The customer's own price list holds what this customer can order, at their own price or volume discount. Outside it they see no price but a button to request one. That request lands with the wholesaler, who puts the article in that customer's price list in the accounting, and after the next sync the request resolves itself. The customer never sees a cost price.

Sorting works on recommended, on popularity, on what this customer orders most often, and on name. That sounds like a detail and it is the difference between a portal that gets used and a portal where nobody finds anything.

Ordering by the case

This is the part that took us longest, and it is exactly the part a hospitality customer notices straight away.

In the accounting an article is often held per unit, while it is bought and delivered by the crate, case, tray or keg. A bar does not order 24 bottles, a bar orders a crate.

The number per pack comes from the conversion factor of the main supplier in the accounting. The kind of pack the app works out itself: a unit that is already a pack counts as one, a word in the description wins, cans and PET become a tray, a bottle of half a litre or more a case, a small bottle a crate. The portal then shows the price per pack with the price per unit underneath, the input field counts in packs, and the volume discount runs in packs too.

The basket and the order count in units internally, because that is how it goes to the accounting. A quantity that is no longer a multiple of the pack is refused at checkout. The wholesaler can set it differently per article, and there is a "per unit as well" switch for customers who are allowed to take loose units.

The wholesaler approves, and only then it goes to the accounting

A customer order is not an order yet. The basket is a draft. After checkout it lands with the wholesaler, who adjusts, approves or rejects it. Only when an approved order is pushed through does it go to the accounting as a sales order.

And there the nicest part of the whole integration happens: the order goes out without prices. Customer, order date, delivery date, warehouse, and per line the article and the quantity. The accounting works out the customer price from their price list itself.

That saves a lot of grief. Price lists with volume discounts, running periods and a different list per customer are not something you want to retype into your portal, because then you have two truths and one of them is always behind. And it gives you a free check: after pushing through, the total the accounting calculated sits next to the total the portal showed. If they drift apart, you know the same day.

Before creating one, the app first looks for an order with the same reference. If it is already there, it adopts that order number instead of creating a second one. A double click on a busy morning must not produce a second delivery.

After that the accounting leads. The app reads the order back periodically, read only, and shows what changed. A line the wholesaler adjusted shows the customer what they originally ordered.

Looking over a shoulder without being able to change anything

"It does not work" is hard to solve on the phone when you cannot see what the customer sees.

So a staff member can open the portal as a customer account. That runs through a signed link valid for sixty seconds and usable once. While looking in, the portal refuses every request that changes anything, a bar at the top shows who is watching, and every session writes a line to the audit log.

On top of that a staff member can place an order on behalf of a customer, for instance when they call. That order is in the customer's name with the staff member recorded alongside, and arrives like any other order.

That split between looking and acting is the whole point. A support feature that is quietly allowed to do everything is not a support feature, it is a back door.

Common mistakes

Copying pricing logic into your portal. Volume discounts, running periods and per customer lists belong in one place. Let the accounting calculate and show what comes out.

Writing an order straight through. Without approval from the selling side, every customer slip lands directly in the administration.

Letting people order in units while you deliver in crates. Then somebody corrects every order by hand, which is exactly the work you set out to remove.

No check on pushing through twice. Always look first whether an order with that reference already exists.

Building a look in feature without limits. A link that never expires and a session that may write is a risk you build in yourself.

What an integration on this package can do is on connecting Exact Online. What the documentation does not say about writing to that API is in the Exact Online API, and how we keep customer prices in sync in customer prices from Exact Online. If you want something like this for your own customers, see custom software.

MK
Maarten Keizer

Founder of Invoker. Over twenty years in hosting, system administration and web development; builds the Claude hosting himself and tests everything on our own servers first.

about maarten