iVendNextDevelopers Request a sandbox

No second customer with the same phone number

The customer asks: A cashier creating a customer whose mobile number is already on another one gets the existing customer, not a duplicate

What you build

At the till, nothing: when the cashier adds a new customer, a phone number already on an enabled customer attaches that customer instead of making a second one. The till compares digits only, reading a leading 0 with your site's dialling code (on a UAE site, 0501234567 is +971 50 123 4567), and looks in both the till's Phone Number and Desk's Mobile No. Online it also matches a known e-mail. For customers made in Desk, by an import or over the API, add save rules of kind unique across on the customer's Mobile No and on its Phone Number (card unique-across-records), and a pattern rule of shape international number if every number must be written the same way.

Limits

Tell the customer

A customer is found by their phone number at the till, so a returning customer is not created again; with the save rules set, the back office refuses a second customer with the same number written the same way.

What next

  1. Tell the customer the 4 limits above, and write them into the proposal.
  2. Follow the recipe: Save rules: one tax id per customer group, and a submit kept for a role.
  3. Build and test it on your sandbox (request one if you have none; what is on it).
  4. Check it on your sandbox as the people who will use it; where it touches a price or a total, the money kit's release gate proves it (testing and release).
  5. Make the same settings on the customer's site, from the list you wrote down, through the customer's own change process.

Nothing to code: write down each setting you make on your sandbox, so it is made the same way on the customer's site.

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

This card in the kit