Why pair PHP Point Of Sale with Leal
- The till focuses on inventory and sales rather than customer retention, which is exactly what Leal adds.
- Leal wallet passes give budget-conscious shops a modern loyalty scheme without new hardware.
- One Zap covers every register and location, so rewards stay consistent as you grow.
Set up PHP Point Of Sale and Leal with Zapier
- 1
Get your Leal API key
In your Leal dashboard, open Settings and copy your API key.
- 2
Create a Zap with the PHP Point Of Sale trigger
In Zapier, choose PHP Point Of Sale as the trigger app with the New Sale event and connect your account.
- 3
Add Leal's Find Customer action
Choose Leal as the action app and select Find Customer, mapping the sale's customer email into Search Query.
- 4
Add Leal's Add Stamps action
Add a second Leal action using Add Stamps. Select your Loyalty Card, map the Customer from the Find step, and leave Number of Stamps at 1.
- 5
Test and turn on
Ring up a test sale against a customer record, confirm the stamp lands in Leal, then publish the Zap.
Field mapping cheat sheet
The exact mappings to set in the Zapier editor, using the real field names from the Leal and PHP Point Of Sale apps.
| Map this | Into this | Notes |
|---|---|---|
| PHP Point Of Sale: Customer Email | Leal Find Customer: Search Query | Only sales with a customer attached will stamp, so ring regulars up against their customer record. |
| Leal Find Customer: Customer ID | Leal Add Stamps: Customer | Map the result of the Find step into the Add Stamps step. |
| Your card in Leal | Leal Add Stamps: Loyalty Card | Pick the loyalty card to stamp. Number of Stamps defaults to 1. |
Good to know
- Leal's Find Customer matches by fuzzy search across name, email, phone, and card code, or exactly by External System plus External ID once a customer is linked.
- Leal's Create Customer needs a first name plus an email or phone, and its Send Card Links option delivers the Apple Wallet and Google Wallet links automatically.
- Leal's triggers fire instantly via webhooks, so Zaps on the Leal side run within seconds.
What you can automate
New sale adds a stamp
Every sale attached to a customer moves their Leal card forward automatically.
New customer gets a card
A second Zap using Leal's Create Customer action enrols shoppers with a wallet pass and sends their card link.
Consistent rules across locations
One Zap covers all registers, or filter by location for store-specific rewards.