iVendNextDevelopers Request a sandbox

A lucky draw for a campaign

The customer asks: One entry for every 200 spent during the campaign, then a fair draw of the winners

What you build

A campaign record and two buttons on it: Count entries and Draw winners. Your service reads the campaign's till sales, counts each sale's entries net of its returns, draws the winners and reserves, and writes the results on the campaign.

Limits

Tell the customer

Every 200 you spend during the campaign is one entry; after the last day the winners are drawn, each entry with the same chance, and each winner wins once.

What next

  1. Tell the customer the 8 limits above, and write them into the proposal.
  2. Follow the recipe: Lucky draw: entries by spend, and a fair draw of the winners.
  3. Copy the sample: S44 — Lucky draw (pp_ldw): entries by spend, and a fair draw of the winners, 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.

Start a project shortlist with this need · Put it in your blueprint · Every need

This card in the kit