iVendNextDevelopers My apps

S18 — Members-only rule guard (a check before payment)

Start an app from this sample

When the cashier presses Pay, the retailer's server prices the basket and asks this service. It refuses a sale that holds a members-only item for a customer who is not a member, in its own words, and asks the cashier for ID when the sale is at or above the retailer's limit. Everything else is allowed. A refused sale books nothing.

The recipe: A rule checked before payment (a check before payment)

In the App library: Members-only check before payment

A walk-in's basket holding the members-only item

Industries: every industry

Start from it

ivn new acme_rule_guard --from s18

What to change

What a partner usually changes:

More: the recipe.

The customer sets: the rules.

Run it

ivn check
ivn try

Try it at the till

Versions

1.2.2

1.2.1

1.2.0

1.1.2

1.1.1

Needs this serves

This page in the kit