iVendNextDevelopers Request a sandbox

Lenses sold only against an eye prescription in date

The customer asks: Contact lenses and prescription spectacle lenses are sold only to a customer whose eye prescription is on file and still valid

What you build

Eye prescriptions as the shop's own records (spectacles or contact lenses, the test date and Valid until, each eye's values), a mark Sold against a prescription on the lens item groups, and a service that answers the check before payment. A marked line is paid only when the sale's customer has a prescription of its kind in date; otherwise the cashier reads which line, and the day the last one ran out. The service reads two fields of a prescription (its kind and Valid until), never a lens value.

Limits

Tell the customer

Your tills sell contact lenses and prescription lenses only to a customer whose prescription is on file and in date, and say which line and why when it is not.

What next

  1. Tell the customer the 5 limits above, and write them into the proposal.
  2. Follow the recipe: Optical prescriptions and lab orders.
  3. Copy the sample: S42 — Optical prescriptions and lab orders (pp_opt), and change it.
  4. Build and test it on your sandbox (request one if you have none; what is on it).
  5. Run the checks: your own tests, the kit's checks and the money kit's release gate (testing and release).
  6. Release through the customer's own release gate (14. Testing and release); an app other shops install goes through the App library.

Test it with your service stopped: the till applies the answer you declared for when it is down.

Start a project shortlist with this need · Put it in your blueprint · Every need

This card in the kit