Skip to main content

SalesPad Mobile Square Credit Card Reader Integration - Knowledgebase / SalesPad Mobile / Sales Documents - Cavallo Technical Support

SalesPad Mobile Square Credit Card Reader Integration

Authors list

Overview

As of version 1.4.0, SalesPad Mobile supports taking sales document payments using Square credit card readers. Users can insert, tap, or swipe a credit card to create an authorization or charge for a sales order or invoice. Users can also capture, void, and credit Square transactions.

SalesPad Mobile supports both of Square’s credit card readers. Square’s older reader connects via USB/lightning port and only supports swiping cards, while the newer model connects via Bluetooth and supports card tap and chip insert. For more information on Square’s credit card readers, review their product pages:

Licensing

Square payment processing is licensed separately and is not automatically available for SalesPad Mobile users. If you are already licensed for Square in SalesPad, then you can simply ask your account executive to also enable the Mobile Square license. If you purchase a Square license and you already have SalesPad Mobile, then you simply need to inform your account executive whether you will be using Square with SalesPad and/or Mobile so that you are provided the appropriate licenses. There is no additional charge to use Square payment processing with both applications.

Unlike other SalesPad Mobile licenses, Square is a site license, so one Square license will provide access to Square payment functionality for all users. The Mobile License Manager will not show the Square license, as administrators will manage access to Square payment functionality within the Security Editor.

Setup

Access Token Maintenance

Square requires an access token to establish a connection between SalesPad Mobile and a Square account. The SalesPad Mobile Server has an Access Token Maintenance screen for creating and managing this access token. Users who have access to Access Token Maintenance can launch it from the main ribbon.

6iGnx9e4Pi9rEDpCo0AIJmC0RZ7MVIWfCNEqUqAm_Iznorr7CDb07jTA42aAPzcEnGopKo1L8_key_zl8yW6NwI14kJgMc5d7-8w.png?access_token=sncl7t-odnaxoqiqn-3451175844a5c5739be5ab00e245cd0d3dd6062f

To generate an access token for Square, click the Generate Token button and select Square from the Service dropdown. This button will only be available if the sub-security Can Generate Tokens is set to True.

V246owhI-xUaqpDcML7n-4uQ7G6NUWvw8_Ku10dZRKuWjqRRLOlFyzvYXk001qBVbrL5W9GI8_key_zl8yW6NwI14kJgMc5d7-8w.png?access_token=sncl7q-brnqlfyxlg-21ed243be6e5c82c0d21ff45f4cbe8b3a01877ef

After clicking OK, the server will show a Square login page in an embedded web browser. Sign in with the Square production account that will be used for payment processing. After logging in, Square will ask whether SalesPad Mobile should be allowed to access the account.

5nLjNB9NL5LKdLQ1AYpQRnuwiUtTdRprHmIKrcHb8vcMheuY801kcILDTj0gDHLBvGkzikRw8_key_zl8yW6NwI14kJgMc5d7-8w.png?access_token=sncl7x-uydnzqmetw-d78bf1de525c985af47aa1d99bb5d3ebccac85ce

Click Allow and the server will close the web browser and display a message that it “Successfully generated an access token”. Dismiss the prompt and a new row will appear in the grid for the new access token. Select the Properties cell in the row and click the key button to review more information about the access token.

EUxifuCOEe1T3cP0xpAAC-QNqc1eI80DhXbfS2j1CFqAF-hSUvYQcQ1Ep0xbn_DlXCGuddDpo_key_zl8yW6NwI14kJgMc5d7-8w.png?access_token=sncl7z-ajnfoxmowq-cc4092a54e87e3259c6f4427621ef86602daa077

Square Location Selection

Every Square account has at least one location, and more locations can be added as needed. Square readers must know which location to use for payments. SalesPad Mobile offers three ways to set up locations: one global default setting and two ways to set up user-specific locations.

  1. SalesPad Mobile Server has a Default Square Location setting. All users which are not assigned to a user-specific location will use this default location.

  2. The Extended User Information screen in SalesPad Mobile Server has a Square Location field. Administrators can assign a location to each user by selecting the user in the left grid and then selecting their Square Location from the dropdown menu.

ZMV5AAHbI4plfrTIb72iKgc7KGUhgd6_CtvSfFAdiHESdqmN2AAP70PUnqP7WbUG5ltEz20OI_key_zl8yW6NwI14kJgMc5d7-8w.png?access_token=sncl7u-atedmufinx-9af6f2423a4d80e7ec412a480acbd54f79c17bd1

  1. The mobile app has a Square Reader Settings screen which can be accessed in Accessories by selecting Square Reader. Users can tap the Location Id field to view a list of locations. If the user selects a location, the app will save that location to the Square Location field in that user’s Extended User Information. This option allows mobile users to manage their Square locations directly instead of requiring an administrator to configure them in the server, which makes it easy to change the location on-the-fly. For more details about Square Reader Settings, review that section of the documentation.

5Xeup48E2t2UEKi7bztHsZqRg8gfD7zHWa1HIn4W-eeCUBIpt519Z-Jl0JVoWE7MRIDBgmVfh_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl7z-qzrhxplpvc-ade07bef36e6eb0921b59b3a6f69a4006e58ef0f

Securities

Access Security

For the following two security settings, Square Reader is now an option and must be selected in order to allow users to take payments with a Square reader:

Available Payment Methods On Invoices - The payment methods which a user can choose from when entering a new transaction for a sales invoice. If only one payment method is available for a user, the app will automatically use that payment method. Defaults to credit card, check, and cash.

Available Payment Methods On Orders - The payment methods which a user can choose from when entering a new transaction for a sales order. If only one payment method is available for a user, the app will automatically use that payment method. Defaults to credit card, check, and cash.

5cMit10PTYnSz94B14JzH-Xyy8ux8CpxNrWKSM4aLXB7pyKe3CCCOF8hGCbEFIHJiHyLTnVDC_key_zl8yW6NwI14kJgMc5d7-8w.png?access_token=sncl7s-fqsvlimbgr-39194f575afb5362633372c1e003660055c92de6

Available Payment Types On Orders - The payment types which a user can choose from when entering a new non-authorization transaction for a sales order or when capturing an authorization. If only one payment type is available for a user, the app will automatically use that payment type. Defaults to payment and deposit.

Available Transaction Types On Invoices - The transaction types which a user can choose from for sales invoices. When entering a new Square transaction, the options are authorization and charge. When selecting an existing Square authorization, the options are capture and void. When selecting an existing Square capture or charge, the options can be credit and reattempt save to GP. Defaults to authorization, capture, charge, void, and credit.

Available Transaction Types On Orders - The transaction types which a user can choose from for sales orders. When entering a new Square transaction, the options are authorization and charge. When selecting an existing Square authorization, the options are capture and void. When selecting an existing Square capture or charge, the options can be credit and reattempt save to GP. Defaults to authorization, capture, charge, void, and credit.

Access Token Maintenance

Can Delete Tokens - If set to ‘True’, users can delete access tokens. NOTE: This action will not revoke tokens from the service. Defaults to ‘False’.

Can Generate Tokens - If set to ‘True’, users can generate new access tokens. Defaults to ‘False’.

Can Revoke Tokens - If set to ‘True’, users can revoke access tokens. Defaults to ‘False’.

Can View Token Properties - If set to ‘True’, users can revoke access tokens. Defaults to ‘False’.

Settings

SalesPad Mobile Server - Square category

Currency Denomination Offset - The difference between your Square currency’s normal denomination (e.g. dollars) and its smallest denomination (e.g. cents). For United States Dollars and many other currencies, this would be 100. Defaults to ‘100’.

Default Square Location - The default location to use for Square payments. If a user has a Square location assigned via Extended User Information or Square Reader Settings, the app will use that location instead of this setting’s location. Defaults to nothing.

Include Authorizations When Calculating Default Amount - If set to ‘True’, the app will include existing authorizations when calculating the default amount for new Square transactions. Note that this setting works exactly the same as the SalesPad setting of the same name, meaning that it will include authorizations on related sales documents which SalesPad would show whereas SalesPad Mobile only shows transactions which belong to the current sales document. Defaults to ‘True’.

Soft Delete Captured Authorizations - If set to ‘True’, captured authorizations will stay in the database and be hidden from payment lists. This setting’s value should generally match SalesPad’s Enable Multiple Capture setting. Defaults to ‘False’.

Square Credit Card Type Mappings - Mapping of Credit Card Types to Dynamics GP. This setting must be filled out correctly or else captures and charges will fail to save to Dynamics GP due to lacking a valid credit card type. Unlike other Credit Card Type Mappings settings, this setting has an ‘...’ button which provides an editor which can help with setting up this setting. Defaults to all Square credit card types mapped to sample Dynamics GP credit card types, which might not correspond to Dynamics GP credit card types in your system.

jfSJBa_eMYDBrceG2wwo6lodnLkKfujDaOoYzAxGOsT_zr7ydp701LATNBzdKXk_rVoL2skrE_key_zl8yW6NwI14kJgMc5d7-8w.png?access_token=sncl7t-fbcmpzltul-826dec3ce78a1f2856dfc6ea14a3d0e9574dcd06

SalesPad Mobile iOS and Android - Square Reader Settings

SalesPad Mobile has a screen within the mobile iOS and Android apps for pairing with Square readers, updating the current user’s Square location, and viewing the current status of the Square integration. This screen must be used to pair with a Square reader which uses Bluetooth, but it is optional for users who only use a Square reader for magstripe.

To navigate to the Square Reader Settings screen, open the slide menu and select Accessories within the Accessories section.

4tTABetG8evzjs6WFzdM3-ubCa5WXA0mvKciDyg6aZj4duwsWc0DZhRCEJ-wqiomf2jwbnoIw_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl82-jwukprzwnk-74688a481a8e7fffc42e2061ff69ea7e4af23a33

After opening the Accessories screen, select Square Reader.

qJK4vTqeyRT8o3GlJEXyLeX98qa2w5_EopfaCBM_3BWTIcHp2UdIIw4oRpcA7DZ6EvugZFkKu_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl7u-bzhiqlvioz-58951c893eb2141da53bce735c99c17fa94446c7

When first opening the screen, SalesPad Mobile will ask for various permissions which Square readers can use:

  • Square requires location permissions because Square needs to know where transactions take place in order to reduce risk and minimize payment disputes.

  • When using a Square reader which uses Bluetooth, SalesPad Mobile needs Bluetooth permissions (also known as nearby devices permission) in order to connect to and communicate with nearby Square readers.

  • When using a Square reader for magstripe, SalesPad Mobile needs microphone permissions (also known as record audio permission) in order to communicate with the attached Square reader.

  • SalesPad Mobile Android also asks for permission to “make and manage phone calls”, which Square uses to identify with which device it is communicating.

Tr4Ht73y28bY4Q1TJIbgT8EAIMtWezVPonvZMcaaMMP7xFGdPD11NJxV4tiR8ItWI-HQL3N64_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl82-ddtmablyzk-f164956920af0e080e36e6696c4135e58abd8436

Square Reader Settings displays whether each of these permissions is allowed or denied. Apple and Google both discourage repeatedly asking for denied permissions, so if you deny a permission and later want to allow it, you must enable it within your mobile device’s Settings app. Another option is to uninstall the SalesPad Mobile app, reinstall it, and navigate back to Square Reader Settings.

This screen also allows users to change to which Square location they are connected. If the Location Id and Location Name cells are empty, a location must be selected before using a Square reader.

The most important part of this screen is the Square Reader field at the bottom. Tapping on this field will open a Square Settings screen which allows users to pair with a Square reader, view information on connected Square readers, and view some basic Square account information.

Gl0WpDrSt170rNZf-ekZ3dwjMYp7R-CSgpw3bxZYZ0Miuy13UK0A8yyRjex26zR7ptF4g1yjs_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl83-ujkazgfnwy-34e2a83ea26d0be36cacbfeb1f95c39d1e70d7ec

Tap the “Pair a reader” button and follow the instructions to pair with a Square reader which uses Bluetooth. Note that pairing with a device will not always work on the first attempt, especially on Android devices. If the Square reader fails to connect after a few attempts, we recommend resetting the reader as described in this Square documentation.

The Devices tab will show paired Bluetooth readers as well as connected magstripe readers. Tapping on a reader will display some information about the reader, such as its serial number.

0sshL9CIhW9cqyJh9agNj6zQIP_ysuxn9EUW3kh7g_3kx0AyQ5Z5IalzQyB-YKVTmfY7LjPGx_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl82-llcaqaonmd-3540309139c557ed5a5424e97c4ee5dbbd501c25

Usage

Sales orders and invoices have a Payments tab. Most Square functionality lives in this tab. Users can see the sales document’s current transactions, enter new transactions, and capture, void, and credit current transactions.

The Payments tab shows a list of transactions which belong to the current sales document. Square transaction cells show the transaction type at the top left, the amount at the top right, the payment date at the center right, and the card type and last 4 digits at the bottom. Square transaction types all start with “SQ”.

NJuCCvMGcnlNEItk5rm5LSKliXbLmGoNyYi1QDJ5yS8Oak0OpcYIJZ6tSaxc-6-ss6HQEEVTH_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl83-yjeloiutnw-a7504e90e40bc2c7c9fe3890552a7f58920b2aea

Enter an Authorization or Charge

On the Payments tab, click the Enter Amount button to begin payment entry. Payments Entry will ask to select a payment method, a transaction type, and a payment type as applicable. If a user only has access to one option for one of those pages, the app will automatically select that option and skip the page.

The first page asks which payment method to use. Select Square Reader to enter a transaction using a Square reader. This page is skipped if the only possible payment method is Square Reader.

X6hVi-HnqWQHRZKbmdoMXTauExtJEMz1BtaH7uunTrn4bx3CaP47i9Yuxjs6uz7CKCVaGZJE-_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl7v-ltffxyrmru-c5c4d18d994f34a3c62b0b54ff37a2c16a08ff37

The second page asks which transaction type to use. For Square readers, the options are Authorization and Charge. This page is skipped if there is only one allowed transaction type.

The third page asks which payment type to use. For charges on sales orders, the options are Payment and Deposit. Payment types are not applicable for authorizations or sales invoices. This page is skipped if there is only one allowed payment type.

Afterwards, Payments Entry will ask for the payment amount. The Amount field defaults to the sales document’s remaining amount, which can include Square authorizations if the Include Authorizations When Calculating Default Amount setting is set to True. Once the amount is set, tap the Accept Payment or “>” button at the top right of the screen.

RUGDsplOdl4EuXpT9OWH0vavU9BcuVzn6eMy45j6C8Sh4E-d4QgY6n7q3PiBzXGva3QidSW5o_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl83-oamdtahacr-4278727faded14faae7c15992c4c7846da4370da

SalesPad Mobile will then show Square’s screen for processing the payment. Follow the instructions on the screen to complete the transaction.

kAD7subeFxmZ90f_QcNdjKHdRE7NOShgvN_PCsmkw67f2mY3s0donVaR8ZEBwpdLr6D8UvBdy_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl83-imivsirzcd-750a54d7c97731cf265642387e20b0b73969dda5

Any payment errors will result in a displayed error message. It may be necessary to click the “Cancel payment” button to abort payment processing. After cancelling the payment, the amount entry page will be displayed again, and another error message with additional information may be displayed. For example, if the phone or tablet is connected to both a swipe reader and a chip reader, trying to swipe a chip card will fail.

loDPsmX4Vaht7eDwZSkVxbIC17tQ7EtZUab9KVEa_Op6FXIPL8yNuRA3kj5Kas9ISmTvRovhe_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl7y-ywlfcwemsi-c115f59cc026fd6d966efbff7656bcf214145cf1

If the payment succeeds, two messages will report success. The green checkmark indicates that Square successfully processed the transaction, while the “Successfully saved” prompt indicates that SalesPad Mobile saved the transaction details to the database and applied it to the sales document.

1ZKTQQg8dGiPxzqgzbKCpQaC_azuUHQ9h4H6hFn-7WaLsfDB7NrVoioQjgTImGJPy-gVkIfWm_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl7y-poyputqlli-1bfdfa0a2bb537acf2436fd21b5fb84cf9ebcc54

q3tcrkOGPIo53vM7jjMtBZdGgLWfMq-1fLi4Z31RPszjhGckUNIpgjWQZ6erNSnPH6bGIif8-_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl80-gochjzuvzr-7108117ffb2b0c361ae558d1e0530284e099d1ab

After creating a payment, it will appear on the Payments tab.

FyN_1dwI_YrorFNmbS6IE51O8DdvWcxtsJztQI7JqndvGRuJMfcvxE7YaznW4a8eNzBuBTt0y_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl7y-wcgspfryzs-e6d0a5a5cd243bce9bcbe5a8577597f162928f54

Capture an Authorization

To capture an authorization, tap on an authorization in the Payments tab. When asked whether to capture or void the transaction, choose Capture. If the user only has access to one of those two actions, the app will skip this prompt and will only show the confirmation prompt.

l7p7D_hq57Zb9FNZxELl4xTH1q32PsH_NWFkw7StB61E_uCi23y9k5BdD4UDZJYuoTTN-i6Z3_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl82-gfmmtqjckq-bd8e35c09b907e39133c2120628666996f329e51

The app will ask to confirm whether the authorization should be captured. If the sales document is an order, and the user is allowed to create either payments or deposits, the app will also ask whether to create a payment or a deposit as part of the confirmation prompt.

X52cv1iAGc-j8N1K-7Aa7MXnt_jafherjJ-uhjc2_rSa4bCsEVmLN3tIxRRYLitbSpz83isDQ_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl86-hplmobgcyw-132e40e4462921a6eebcc4316f05a74a45de5655

If capturing succeeds, the app will refresh the Payments tab and show the new Square payment or deposit instead of the authorization.

4VR2WbM0u9sQ62an_vz_jVWE52hunEOkjCHm91qQe0ab65TRfaua_UOcYZoCmiisEsLL2aAgI_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl7y-diwggupuek-c291f852a88cc33f08824a6b3500f0648584ab2f

Void an Authorization

To void an authorization, tap on an authorization in the Payments tab. When asked whether to capture or void the transaction, choose Void. The app will then ask to confirm whether the authorization should be voided.

J4a5YNL6bnwfeEJzBcPjM3xav1v85ny4RP8pB4dW-lngw4_ZJsU48EjWAk1qy9CL-qrNtp1N__key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl7z-sgigjawxpz-222551c6b53dc8de717fa8dab62589dcc4699230

If voiding succeeds, the app will refresh the Payments tab and show a voided transaction record instead of the authorization.

uBlp4KdXtVHiA1flJb6Q5TlArwK7cbkdJg9_zK77swCyff9w6jBircK4fddYPmx4aQym8Po6w_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl83-bpktjmyulx-85ab5aca20299de5ff82996e8df3faecb163fe08

Credit a Capture or Charge

To credit a capture or charge, tap on a Square payment or deposit in the Payments tab. The app will ask to confirm whether the transaction should be credited. If confirmed, the app will then ask for the amount to credit. The amount will default to the full payment amount, but this can be changed to a smaller amount if only part of the transaction should be credited.

ecMy97hMePNzq7OXobEghvenXo13tQgxrvUT9VKwPsNjf1dS5VoUkmcbbZ6JSrgQhT0vUc9Xk_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl82-hjxzqslmtb-10e9833a95392dca943490a5cb6b7b8b194d0793

Tapping the Save button will process the credit. If it succeeds, the app will refresh the Payments tab and show a credit transaction in addition to the original payment or deposit. Note that the original payment and deposit will show the original payment amount, but in Dynamics GP the payment will either be deleted or have a lower amount as applicable.

0mJe4JR34H_oicw94BSBcYBK_yrIgHifvnIqpao8E0nxKmJQcvNhWHiTAOj4AojLWjlAxTBz4_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl83-gbewmqhzup-d57cb9df471274c7dc7fbe5a407302332eb3758e

If a payment or deposit is not fully credited, the remaining amount can be credited as well. When choosing to credit a payment which has already been partially credited, the amount will default to the remaining amount.

5cBaBXC03MK3uylLebEBXm3MUtNLhf3TdR2baYXa7uF9qTSJKySK0diWXKFXNTtIqaHb-fWcw_key_zl8yW6NwI14kJgMc5d7-8w.jpeg?access_token=sncl86-lktxzwdtlu-287b3ef7e9a51798c0688c4ec1f82cb5c3f401a0

Once a payment or deposit is fully captured, it will no longer perform actions when tapped.


Helpful Unhelpful