Loyalty earned in the customer's own programme
The customer asks: Every booked sale earns loyalty points in our own programme
- Verdict: Ready, with limits (2)
- Door: Outside app · area: Customers and loyalty › Loyalty, gift cards and wallets
- Recipe: A customer's own loyalty programme: the rules outside, the records inside
- Sample: S22 — Customer-owned loyalty (pp_lyl): your logic outside, the records inside the shop
- Checked: carried 2026-10-15 · not re-run
What you build
The customer's service reads each booked sale from the feed and credits its own ledger; the ledger may live in iVendNext as your manifest's records.
Limits
- The kit's samples read the shared feed, whose key is not limited to one app (a feed scoped to your app is an extension point, chapter 9).
- Loyalty points are credited when the service is back: a sale waits in the feed while it is down.
Tell the customer
Each booked sale earns in your own programme, shortly after it is booked.
What next
- Tell the customer the 2 limits above, and write them into the proposal.
- Follow the recipe: A customer's own loyalty programme: the rules outside, the records inside.
- Copy the sample: S22 — Customer-owned loyalty (pp_lyl): your logic outside, the records inside the shop, 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.
Stop your service for a while and start it again: it must catch up from the event feed, missing nothing.
Related needs
- Change the limits and who is told in one settings page, not in each rule — Ready, with limits (3)
- Customers spend their cash back, store credit or loyalty points balance at the till — Ready, with limits (2)
- A report of each member's cash balance for any dates, with the opening and the closing figure — Ready, with limits (3)
- Customers earn and spend loyalty with iVendNext's own programme — Ready, with limits (1)
Start a project shortlist with this need · Put it in your blueprint · Every need