iVendNextDevelopers Request a sandbox

No more than so many manager approvals for a discount per store per day

The customer asks: No more than so many manager discount approvals per store per day

What you build

Your service counts approvals for each store and day in the check before payment: it answers approve until the limit is reached, then refuse. Count a sale once, not each time it is asked.

Limits

Tell the customer

After the day's limit of manager approvals for a store, a further discount is refused at Pay; we count only the approvals our check is asked about.

What next

  1. Tell the customer the 3 limits above, and write them into the proposal.
  2. Follow the recipe: Several till rules in one app, with the shop's own settings (till guard rules).
  3. Copy the sample: S23 — Till guard rules (a check before payment and a capture on scan, one app), 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.
  7. To lift a limit, ask for P-OVERRIDECAP (the extension-point request; members only).

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