Testing Loyalty Changes in a Sandbox: Earn, Burn, and Edge Cases to Run
A common assumption runs like this: if a test member can earn points on a normal sale and spend points on the next one, the loyalty change is tested. That assumption is wrong, and it is wrong in a specific way. Earn and burn on a clean sale are the two paths least likely to break. The paths that break are the ones wrapped around them, points on a returned item, a balance spent before the return, a member crossing a tier threshold mid-basket, an expiry run removing points a member was about to use. A sandbox test plan for loyalty has to name those cases explicitly, because generic retail change testing never exercises them.
What question is the sandbox actually answering?
For each case: given this member, this basket, and this setup, what should the point entries say afterwards, and what do they actually say? Every case in this plan is written as an expected result first, taken from the setup being changed, and an actual result second. A case without a written expected result is not a test; it is a look around.
Two definitions from LS Central's own point setup decide most of the expected results, so settle them before writing any case. Award Points are earned through a sale and are used to calculate upgrades and downgrades. Other Points are bought or transferred, are not used in upgrade and downgrade calculations, but can be used for offers and tenders. Base Calculation for earning can be on Amount or Quantity, with filter types including Tender Type. Tier cases live and die on the Award/Other split; earn cases live and die on the Amount/Quantity base and its filters.
The test member set: five accounts that cover the matrix
Build the members before the cases. Five accounts cover the combinations this plan needs:
- M1, clean slate: a new member with no points of either type. Used for pure earn cases.
- M2, just below a tier threshold: Award Points set a small, known distance below the next upgrade level, so one ordinary sale crosses it.
- M3. Other Points only: a balance made up entirely of bought or transferred points, with no Award Points. Used to prove Other Points behave in offers and tenders but stay out of tier calculations.
- M4, low balance: enough points for a part-payment, not enough for a full redemption. Used for insufficient-balance cases.
- M5, return candidate: a member with a completed, points-earning purchase ready to be returned in full and in part.
Other platforms formalise this same idea: one loyalty product documents test customers that let a purchase exercise points earning and VIP tier entry together, including the tier-entry email, with test customers excluded from loyalty reports by default and carrying a visible test badge. That is a different platform's facility, not an LS Central one, the transferable lesson is the discipline, not the feature: keep test members visibly separate from real members, and know before go-live whether their activity will appear in live reporting.
Earn cases: amount, quantity, tender, and offer-driven
- Amount-based earn (M1): complete a normal sale and compare the points posted against the expected result calculated from the sale amount and the setup's Unit Rate.
- Quantity-based earn (M1): where Base Calculation is Quantity, run a multi-item sale and confirm the points follow item count, not sale value, then run a high-value, low-count sale and confirm the reverse does not happen.
- Tender-filtered earn (M1): with a Tender Type filter in the setup, pay one sale with the qualifying tender and one with a non-qualifying tender. Only the first should earn under that rule.
- Offer-driven earn (M1): run a sale that qualifies for a points offer, then a near-miss sale that should not qualify. A test routine documented for another POS makes the same point in its own terms: build a qualifying order, close it, then verify the reward is offered on the next order and that unrelated rewards are not unintentionally triggered.
- Time-based earn, if the change uses one: that same routine notes that time-based earn rules, double points in set hours, for example, must be tested by connecting at that time to confirm the correct points post. Run one sale inside the window and one outside it.
What success looks like: every earn case posts exactly the expected points, the near-miss and non-qualifying cases post none under the tested rule, and no case triggers a reward it was not built to trigger.
Burn cases: redemption, part-payment, and insufficient balance
- Full redemption (M2 or M3): spend points against a sale and confirm the balance falls by exactly the points used, and the remaining balance is the expected mix of Award and Other Points.
- Part-payment (M4): pay part of a sale with points and the rest with a normal tender. Confirm both parts post cleanly and the points part matches the low balance available.
- Insufficient balance (M4): attempt a redemption larger than the balance. The expected result, refused, capped at the balance, or handled another defined way, must be written down from the intended design before the case runs; whatever the till does is then judged against that line, not against a feeling.
- Other Points in a tender (M3): redeem only Other Points and confirm the member's tier standing does not move. Other Points can be used for offers and tenders, and are not part of upgrade or downgrade calculations.
What success looks like: balances after each burn match the written expectation to the point, part-payment splits cleanly across points and tender, and the insufficient-balance case behaves exactly as the design said it would.
Edge cases: returns, expiry, tier boundaries, offline sales
- Return after earn (M5): return the points-earning purchase in full, then repeat with a partial return. Record what happens to the earned points in each case, and compare it against the expected result written from the intended design before the return is processed.
- Return after spend (M5 variant): earn on a purchase, spend those points on a second sale, then return the first purchase. This is the ordering that produces negative or contested balances in real life, so the expected handling, and who approves it, belongs in the case sheet, not in a weekend phone call.
- Tier crossing up (M2): run the sale that carries the member over the upgrade threshold on Award Points and confirm the upgrade posts. Then confirm a matching amount of Other Points (M3) does not produce an upgrade.
- Tier crossing down (M2 variant): where a return or adjustment removes Award Points, confirm whether the downgrade follows, and that it follows from Award Points only.
- Expiry run, if the setup uses expiry: set a small balance to reach its expiry point, run the expiry process deliberately in the sandbox, and confirm the expired points, the surviving points, and the member's resulting tier each match the written expectation. An expiry process that only ever runs on schedule in production is untested by definition until this case runs.
- Offline sale, if stores trade offline: complete a member sale with the till offline, reconnect, and confirm the earn posts once, not zero times, and not twice.
What success looks like: no edge case produces a balance, tier, or entry that the case sheet did not predict, and every surprise found is a setup fix made in the sandbox, not a behaviour discovered by a member.
Sign-off checklist: expected vs actual, case by case
Close the run with a decision, recorded against the cases:
- Every earn, burn, and edge case has a written expected result and a recorded actual result, side by side.
- Every mismatch is either fixed in setup and re-run to a pass, or written up as accepted behaviour with a named approver.
- The Award/Other distinction is proven, not assumed: at least one case shows Other Points redeeming without moving a tier, and one shows Award Points moving a tier.
- Test members are accounted for: listed, kept separate from real member reporting expectations, and removed or clearly flagged before the change reaches production.
What success looks like: a case sheet with no blank expected-result cells, no unexplained mismatches, and a go/no-go line signed against it. The decision framework is the sheet itself, a change with a full, passing sheet goes forward; a change whose edge cases were “not got to” does not, because those are precisely the cases production will run first.
, Dex Carter, Tech Writer
IndexBack to all guides →