A coupon that needs a sale of a given size for each use
The customer asks: One coupon for each so much spent; a coupon only on a sale above a minimum
- Verdict: Ready, with limits (6)
- Door: Check before payment · area: Till controls and approvals › Payment
- Recipe: Coupons for a first purchase, one customer group, or a sale of a given size
- Sample: S32 — Coupon rules (a check before payment that refuses a coupon the retailer restricted)
- Checked: 2026-10-28 · bench
What you build
Your service answers the check before payment. iVendNext keeps one rule per coupon with the sale each use needs; the service adds up the amounts of the coupons on the sale and refuses them when the sale's total is less. One coupon of 100 for each 1,000 spent is a rule of 1,000 on each such coupon: two need a sale of 2,000. With one coupon it is a minimum sale for that coupon.
Limits
- Answered when the cashier presses Pay, not when the coupon is entered.
- The sale's total is as rounded for payment, after its discounts (the coupons' own included), tax included. An exchange's replacement is its own sale, judged at its own total.
- One amount per coupon, read in each sale's own currency.
- It counts each coupon as one use, never what the coupon takes off: a 10% coupon with 1,000 here takes 100 of a 1,000 sale, a 50% coupon 500. It is a minimum sale per coupon, not a cap on the discount.
- Several coupons of one kind on one sale count as one. For one coupon for each so much spent, give each coupon its own record and rule (coupons issued as serial numbers of one coupon cannot be used twice on a sale unless its hidden Can Repeat In Transaction is ticked, and then count once).
- Offline, the till does not ask the service: the coupon applies and the sale is flagged when it syncs.
Tell the customer
A coupon on a sale too small for it is refused at Pay with the amount needed; the cashier removes a coupon or adds to the sale.
What next
- Tell the customer the 6 limits above, and write them into the proposal.
- Follow the recipe: Coupons for a first purchase, one customer group, or a sale of a given size.
- Copy the sample: S32 — Coupon rules (a check before payment that refuses a coupon the retailer restricted), and change it.
- Build and test it on your sandbox (request one if you have none; what is on it).
- Run the checks: your own tests, the kit's checks and the money kit's release gate (testing and release).
- 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.
Related needs
- A coupon only a new customer may use, or only customers of one group — Ready, with limits (6)
- A coupon can be redeemed only so many times in a store — Ready, with limits (3)
- A coupon or a loyalty points balance pays no more than part of the sale — Ready, with limits (1)
- An account customer's purchase order number, an insured patient's policy number or a contractor's project required at Pay, and nothing asked of other customers — Ready, with limits (8)
Start a project shortlist with this need · Put it in your blueprint · Every need