SG - Integrate Square with Crunchtime Download PDF
SETUP GUIDE

Integrate Square with Crunchtime

Setup Guide

Document Details

Document #: 160_SQSG_250307

Overview

The purpose of this document is to provide the information you need to integrate the Square POS system with the Crunchtime platform.

QR code — scan to download the latest version of this guide
Download the latest version of this document here: https://links.crunchtime.com/SG-IntegrateSquareWithCT

… or scan the QR code to the left.


Integration

Integrate Square with Crunchtime

Introduction

Square is a cloud-based system that integrates with Crunchtime via API. This integration allows customers to pull sales and time clock information from your POS into Crunchtime, as well as push employees from Crunchtime down to your POS system.

Screenshot

Let’s get Connected

The steps below must be followed in order for Crunchtime to access Square data via the Square API. Any user with 'full access' permissions in Square has the capability to authorize an integration. The process below needs to be completed during on boarding or if the tokens are revoked at any point. The OAuth token provides access to the entire merchant account and works across all locations.

Square Sandbox Steps:

During onboarding, it may be necessary for Crunchtime to create or update data in Square. These updates should be tested in the Square sandbox environment. The customer will need to provide the Sandbox API token by following these steps:

  1. 1
  2. 2
    Under Sandbox test accounts, select the test account associated with Crunchtime, the Default Test Account in this example.
Screenshot
  1. 3
    Send the Access token to the Crunchtime team.
  2. 4
    If the sandbox test account doesn’t exist then add one with “Automatically create authorizations for all my current apps” checked.

Square Authorization Steps:

  1. 1
    Log in to the Square Dev Dashboard: https://developer.squareup.com/apps.
Screenshot
2

Navigate to OAuth section.

3

Enter the following Production Redirect URL:
‘https://connexoauth.um1se6c49evm6.us-east-1.cs.amazonlightsail.com/callback’.

4

Make note of the Production Application ID and Production Application secret values.

  1. 2
    Navigate to OAuth section.
  2. 3
    Enter the following Production Redirect URL:
    ‘https://connexoauth.um1se6c49evm6.us-east-1.cs.amazonlightsail.com/callback’.
  3. 4
    Make note of the Production Application ID and Production Application secret values.
  4. 5
Screenshot
6

Enter Square Application ID and Square Application Secret values found on OAuth page in the Square Dev Dashboard (from Step 4 above).

7

Select Authorize.

  1. 6
    Enter Square Application ID and Square Application Secret values found on OAuth page in the Square Dev Dashboard (from Step 4 above).
  2. 7
    Select Authorize.
  3. 8
    You will be redirected to the Square Sign In page where you should enter your Email address
    and Password and click Sign In.
Screenshot
  1. 9
    If this is the first time permissions are being granted for Crunchtime Connex, you will see them listed. Click Allow to approve access.
Screenshot
  1. 10
    Copy the full response containing the access token and send it to Crunchtime (text file preferred).
Screenshot

Location Activation

To enable a location with Connex, an activation request must be sent to the Crunchtime Support team (support@crunchtime.com) containing the following information:

Example Request
Tip Square considers a mobile/online location to be a separate POS. If you choose to combine these sales into one Crunchtime location, please notate this on the support ticket request.

Considerations for Menu Mix Integration

PLU: Crunchtime recognizes menu items for reporting and to drive stock depletion by referencing a PLU code (12 digits or less) from the POS. Currently, Square only has a 24-character “id” field or “name” field that does not align with the Crunchtime system requirements.

In order to leverage a menu mix integration between Crunchtime and Square, customers must populate an item and variable specific custom attribute field in Square to represent a 12-digit or less PLU.

Note The Square API version must be ‘2023-04-19’ or above to leverage the custom attribute solution for both menu items and modifiers. The API Version can be updated in Square by navigating to the Credentials screen.

For the creation of the Custom Attribute field follow these steps.

  1. 1
    Log in to Square: https://squareup.com/
  2. 2
    Navigate to the Items section: https://squareup.com/dashboard/items/library
Screenshot
3

Select Custom Attributes from the left panel.

4

Click Create Custom Attribute.

5

Enter the Custom Attribute name: ‘Crunchtime_plu’.

6

Enter the attribute Type: ‘Number’.

  1. 3
    Select Custom Attributes from the left panel.
  2. 4
    Click Create Custom Attribute.
  3. 5
    Enter the Custom Attribute name: ‘Crunchtime_plu’.
  4. 6
    Enter the attribute Type: ‘Number’.
  5. 7
    Set Precision = ‘1’.

Initial Updates:

The Custom Attribute field for all items, variations, and modifiers can be updated manually or via API. An extract from Square containing the following can be used for populating the custom attribute field:

The customer will then populate the workbook with a new column containing the Custom Attribute that will align with the PLU assigned to Recipes in Crunchtime Enterprise Manager.

Tip It is best practice to configure the Custom Attribute PLUs using 3 or 4 digits in case concatenation requirements are needed to result in proper stock depletion.

Customer Maintenance:

For any new menu items created in Square, the customer will be responsible for updating the Custom Attribute field directly in Square.

Modifiers:

Square does not support assigning the custom attribute field to Modifiers. As such, for customers to track menu mix sales and depletion from modifiers, we must maintain a mapping table outside of Square that links the Modifier Name to a PLU Number that is configured on the Modifier Recipe in Crunchtime.

Considerations for Employee Integration

Considerations for Time Clock Integration