Skip to content

How to set up the Square POS integration with CaptiFi ​

Follow every step below and your WiFi guests will appear in your Square Customer Directory, with their till spend matched back to them in CaptiFi.

Time needed: about 10 minutes.

What this integration does ​

  1. WiFi guests appear in your Square Customer Directory. Every guest who signs in to your WiFi and opts in to marketing is added as a Square customer in a CaptiFi WiFi Guests group, ready for Square Marketing campaigns.
  2. In-store spend is matched back to WiFi guests. CaptiFi reads your Square orders every 15 minutes and links them to your WiFi guests, so the Square Spend page shows who your biggest spenders are and who is worth a win-back offer.
  3. Matched orders earn Rewards points. At a venue in a live Rewards programme, each completed order matched to a member earns points at your programme's rate, once per order. An order in a currency other than the venue's programme currency earns nothing. See Points from Toast and Square orders.
  4. Guests can be enrolled in Square Loyalty. Switch on Enrol guests in Square Loyalty and a guest who signs in with a mobile number and accepts texts is enrolled in your Square Loyalty program under that number the moment they connect, so they earn points at the till without anyone typing their number in. A guest already in your program is left as they are.

CaptiFi never changes prices, takes payments or edits orders. Order access is read-only.

Before you start ​

  • A Square account with at least one location
  • Permission to create an application in the Square Developer Console (free, about two minutes)
  • A CaptiFi plan that includes integrations (Growth or above)

Part 1: Create your Square access token ​

Step 1: Open the Square Developer Console ​

Go to developer.squareup.com/apps and sign in with your normal Square account login.

Step 2: Create an application ​

Click Create your first application, or + New application if you already have one. Name it something you will recognise, for example CaptiFi, and click Save.

Step 3: Switch to the Production tab ​

Open the application and click Credentials in the left menu. At the top of the page, switch from Sandbox to Production.

Square Developer Console credentials page showing the Application ID and Access token fields

Use Production, not Sandbox

The screenshot above shows the Sandbox tab. A sandbox token connects to fake data and will never show real guests or spend. Make sure the Production tab is selected before you copy anything.

Step 4: Copy the Production Access Token ​

Click Show next to the access token and copy it. Treat it like a password: it gives access to your Square customer and order data.

Step 5: Optional, note your Location ID ​

Skip this if you run a single Square location; CaptiFi finds it automatically. If you run several, get the Location ID for this venue from the Square Dashboard under Account & Settings, Business information, Locations.

Part 2: Connect Square in CaptiFi ​

Step 6: Open the Integrations page ​

Log in to my.captifi.io and click Integrations at the bottom of the left sidebar.

Integrations and Settings pinned at the bottom of the CaptiFi dashboard sidebar

Step 7: Find the Square POS card and click Configure ​

CaptiFi Integrations page Square POS card showing Not connected, the Configure button and the Setup guide button

Step 8: Paste your access token ​

The panel shows one section per venue you manage. Paste the token from Step 4 into Access Token. It is write-only: once saved, CaptiFi only ever shows a masked confirmation.

CaptiFi Square POS configuration panel with the Access Token, Location ID and Environment fields

Step 9: Set Location ID and Environment ​

Leave Location ID blank to use your main Square location, or paste the ID from Step 5. Leave Environment set to production unless Square support has asked you to test against sandbox. Keep Add WiFi guests to Square Customer Directory switched on.

If you run Square Loyalty, switch on Enrol guests in Square Loyalty as well; see Part 4 below.

CaptiFi Square POS configuration panel with an access token and Location ID entered

Step 10: Click Save, then Test connection ​

A successful test names your Square business back to you, which confirms the token belongs to the right account.

CaptiFi Square POS panel after saving, showing the secret saved confirmation

Step 11: Switch the venue on ​

The venue reads Connected but paused until you flip the toggle to Enabled.

CaptiFi Square POS integration enabled for the venue

Step 12: Confirm the card says Connected ​

CaptiFi Integrations page Square POS card showing Connected, Active on 1 of 1 connected venue, and the Manage and Setup guide buttons

Part 3: Test it end to end ​

Step 13: Sign in as a guest ​

Forget the WiFi on a phone, reconnect, and complete the splash page with a real email address. Accept marketing when the splash page asks.

Step 14: Check the Square Customer Directory ​

In Square open Customers. Within a couple of minutes the test guest appears in the CaptiFi WiFi Guests group. With Enrol guests in Square Loyalty on, and a mobile number given at sign-in, the same guest appears under Loyalty in Square too, with no points until their first sale.

Step 15: Take a test sale, then check Square Spend ​

Ring up any sale for that customer at the till. Within 15 to 30 minutes the spend appears on the Square Spend page in your CaptiFi sidebar, under Insights, and on the guest's profile, where their total, average order, recent orders and most-ordered items sit alongside their visits.

Part 4: Enrol guests in Square Loyalty ​

Skip this part if you do not run Square Loyalty. With a Loyalty program on your Square account, CaptiFi can enrol each WiFi guest in it the moment they connect, so they earn points at the till from their next sale without anyone typing their number in.

Step 16: Add a phone field to your sign-in form ​

Square Loyalty identifies a guest by mobile number, so your splash page design needs a phone field. Open the design in the splash page editor and add the phone field if it is not there already. In the US and Canada the form also shows a texts tick; elsewhere the marketing consent the guest gives at sign-in covers texts.

Step 17: Switch on Enrol guests in Square Loyalty ​

Back on the Integrations page, open Manage on the Square POS card and switch on Enrol guests in Square Loyalty for the venue. Save.

The Square POS settings panel in CaptiFi with Add WiFi guests to Square Customer Directory and Enrol guests in Square Loyalty both switched on

Close-up of the Enrol guests in Square Loyalty switch and its explanation

Step 18: Test it ​

Sign in to the WiFi on a phone with a real mobile number and accept marketing (and texts, where the form asks). Within a couple of minutes the guest is in your Square Customer Directory with their number, and enrolled in your Loyalty program with no points yet. Their first sale at the till earns points as usual.

A guest who is already in your Loyalty program under that number is left as they are. A sign-in with no phone number, or one that did not agree to texts, still goes into the Customer Directory and is simply not enrolled.

What gets synced ​

DataDirectionNotes
Guest name and emailCaptiFi to SquareOnly guests who opt in to marketing
Guest phone and birthdayCaptiFi to SquareIf your splash page collects them
CaptiFi WiFi Guests groupCaptiFi to SquareCreated automatically, use it in Square Marketing
Square Loyalty enrolmentCaptiFi to SquareWhen Enrol guests in Square Loyalty is on, for guests who give a mobile number and accept texts
Orders and spendSquare to CaptiFiRead every 15 minutes, powers the Square Spend page

The Square Spend page ​

Once connected and syncing, a Square Spend entry appears in your CaptiFi sidebar under Insights, below Toast Spend if you also use Toast:

The CaptiFi Square Spend page with matched spend, match rate, anonymous revenue, average spend per guest, orders, matched guests, the top spender, the 12-week trend and the top of the Top spenders table

It includes:

  • Matched spend, match rate and average spend per WiFi guest
  • A weekly spend trend
  • A Top Spenders table with VIP badges, filters for minimum spend and lapsed guests, and one-click win-back email segments
  • CSV export of your top spenders

The Top Spenders table and the top spender card name each guest, so a team member needs View guest data to see them, and Export data as well to download the CSV.

Important notes ​

  • Only opted-in guests are synced to Square (this respects GDPR consent)
  • Loyalty enrolment needs a mobile number and consent to texts. Square Loyalty identifies a guest by phone number and texts enrolled buyers about their points, so CaptiFi enrols only guests who give a mobile number and agree to texts: the texts tick where your sign-in form shows one, otherwise the marketing consent they give at sign-in. Add a phone field to your splash page design. Your Square account also needs a live Loyalty program; without one, the switch does nothing.
  • Guests are matched to orders using the customer record Square attaches at the till (card on file or loyalty lookup), or by matching email addresses
  • Disconnecting removes your Square credentials from CaptiFi immediately; spend already synced stays in your dashboard
  • Orders only sync from the moment you connect; historic sales are not back-filled

Troubleshooting ​

Test connection returns HTTP 401 - the access token is wrong, or it was regenerated in the Developer Console. Copy the current Production token and save again.

Test reports a location error - the Location ID does not belong to this Square account. Clear the field to use your main location.

Guests are not appearing in Square - check the venue toggle is Enabled (Step 11), that the guest accepted marketing, and that your splash page collects an email address.

Guests are in the directory but not in Loyalty - check Enrol guests in Square Loyalty is on, that your Square account has a live Loyalty program, and that the guest gave a mobile number and agreed to texts at sign-in. A guest already in your program under that number is left as they are, so they will not show as newly enrolled.

Square Spend shows no data - give it 15 to 30 minutes after your first sale, and check the sale was rung up against a customer record.

Everything connects but the data looks fake - you used a Sandbox token. Repeat Steps 3 and 4 on the Production tab.

CaptiFi: Guest WiFi Marketing Platform