iVendNextDevelopers My apps

Partner kit

Build on iVendNext

For iVendNext Partners, developers and licensed customers' IT teams. This guide shows how to build a customer's own behaviour on iVendNext without changing iVendNext itself. It is for anyone who builds for an iVendNext customer: an iVendNext Partner, a licensed customer's IT team, and the CitiXsys Consulting Team, our own team, which uses this same guide.

New here? Before you start: nothing of iVendNext goes on your computer, your sites are ours, in the cloud; what you need, and one line that gets your terminal ready. Then How it all works: where your app runs, where the data lives, and why customers never collide, in ten minutes.

Build your first appRequest a sandbox

What you can build, and how

Learn the kit

Learn the kit

Make it, try it, send it to your customer

Publish your app

Publish your appMy apps

Every page on this site is built from the kit's own guide. Chapter 9 lists each extension point, and every chapter says what the kit has proven and what it has not.

Three ways in

What you can build

A customer's own behaviour, without changing iVendNext itself: the customer's rules at the till, the customer's own records in iVendNext Desk, links to the customer's own systems, reports and approvals, and an AI assistant on the user's own key. Chapter 1 says what each means, the needs catalogue answers need by need, and chapter 16 gives the limits to know before you quote.

Build your first app, in six steps

  1. Sign in with GitHub.
  2. Make the app, blank or from the sample nearest your customer's need.
  3. Change it. One file, manifest.json, for most apps.
  4. Check it. The same checker your customer's install runs.
  5. Try it on a site. Pick a site, or add one. It asks for no key, no plan and no card.
  6. Publish it to your customer. They install it in one press.

Each step is on Build your first app, with its commands.

The ways in, simplest first

Rung Way in What it is Your code runs Recipe
1 Configure pricing, promotions, coupons, sale details, line details, till keys and layouts, receipt formats (label layouts printed from the till are an extension point), workflows, numbering, permissions, reports, notifications — set in iVendNext Desk nowhere 4. Configure first
2 Outside app your service reads and writes records over the API and reacts to the event feed; any language your server or the customer's Building a connected app · Outside apps and the event feed
3 Till key the cashier taps a key; the till calls your HTTPS service; you answer with a message or sale details your server A till key · Till keys
4 Manifest your own record types, fields, print formats, notifications, workspaces and every other kind the manifest recipe lists, declared as data and installed by the retailer's administrator, checked by our code nowhere: it is data; a print format runs when it prints, some kinds call your service, a module runs in our sandbox Shipping your own data in a manifest · 7. Manifests · What goes where
5 Sandboxed function a compiled WebAssembly function at a published extension point that offers one (the check before payment and pricing do); the same answer on the server and on an offline till inside a sandbox we run Sandboxed functions: the Wasm kit
6 Compose doors, then request If no single door fits, compose doors before you ask for one. An outside app with a document check, a Desk button that asks for inputs, a partner page opened from a button, a capture at the scan, save rules and configuration combine to meet most needs. A composition with its limit stated (a separate screen, a tap, seconds of delay) is the answer to give, never a workaround to hide. Request an extension point only when no composition meets the customer's outcome, and say in the request which compositions you tried and why each falls short. — 9. The extension-point catalogue

Combine rungs. A real project is usually several (and rung 6 is the same idea for one need: combine the doors you have before you ask for another): a manifest for the records, configuration for the screens and approvals, an outside service for the logic, a till key for the cashier.

The four rules

Four rules, each with what to do instead. They are short on purpose: anything they do not forbid is open to you.

Rule Why Instead
1. Money enters the sale visibly, before payment. A price or discount may come from your service, but never change a price, tax or total after the cashier has seen it. On a back-office document (a purchase order, a receipt), a price from your service shows on the document before it is submitted, and is never changed after. The cashier, the receipt and the books must show the same amount. A total changed behind the till disagrees with what the cashier charged, and the sale is stopped — possibly after the card was taken prices, promotions and coupons (configuration); a check before payment; a live price or discount through the deal extension point (being specified), within the retailer's limits
2. Don't override or patch iVendNext. We upgrade every customer together. An override or a patch is a private copy of our code that the next release moves under, and on the till it is not even reached an extension point; if none fits, request one
3. Your code runs on your server. Inside the customer's site you ship data, not code — no server code of yours, no server scripts Many customers share one installation, so code inside one site is code on all of them, and a script can send data anywhere with no review. Data installs into one site and touches no one else's an outside app, a till key, a payment connector on your server; a manifest inside the site, or a sandboxed function at an extension point that takes one (the check before payment and pricing)
4. Your screens come through our doors. On the till: your page as a sheet over the sale, the till's own sheets when an item is scanned, a customer is picked or a quantity changes, and extra fields. In Desk: buttons, your pages and native screens. What you can't do is put your JavaScript inside our screens A script on a form runs in every user's browser, administrators included. The till loads only its own code the doors named in the rule, or your own app with Sign in with iVendNext (what you can use)