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.
Frequently asked questions
Does PHP Point Of Sale work with Leal?
Yes. PHP Point Of Sale has an official Zapier app with sale and customer triggers, which Leal uses to add stamps and enrol customers automatically.
Do sales without a customer attached still stamp?
No. Leal needs to know whose card to stamp, so the sale must be rung up against a customer record. For walk-up sales, customers can scan your Leal QR code at the counter instead.
Does this work across multiple registers and locations?
Yes. One Zap covers every register by default, and Zapier filters let you run different rules per location if you need them.
Is PHP Point Of Sale a hosted or self-hosted system?
It is offered as a hosted web-based system, with a self-hosted option available. The Zapier connection is designed for the hosted version, so check your setup before building the Zap.
Keep PHP Point Of Sale. Add Leal.
Digital stamp cards in Apple Wallet and Google Wallet, working with the till you already have. Set up your card in minutes, free to start.
Other POS systems
See the full best POS systems guide or all Leal integrations.