Square Authorization Flow and OAUTH Tokens Explained.

Square Authorization Flow and OAUTH Tokens Explained.

All our Square gateway integrations require Authorization in SuitePOS before transactions can take place.  This is known as the "obtainToken flow".

The following steps are involved using Square Authorization in the POS Settings Screen :
  • Get an Access_Token by logging into your Square Account from SuitePOS.
  • This Access_Token is then used to obtain a Refresh_Token
  • This Access_Token is then used to get the "Authorization _Code "which is then used for subsequent transactional SDK calls.
On every sync (at least once a day), SuitePOS will get a new "Access_Token" using the "Refresh_Token". The "Refresh_Token", under the "obtainToken flow", never expires.
Because tokens are stored in the secure Apple Keychain, these tokens persist through application removal and re-installs on the device. 

POS Settings Screen:



    • Related Articles

    • Tutorial: Setting up Square Reader Gateway

      Square Reader uses the Square Reader SDK to process credit card payments. Unlike the Square POS integration, the Square POS app does not need to be installed (alongside SuitePOS) on your device. The Square Reader (with optional power dock) is ...
    • Tutorial: Setting up Square POS Gateway.

      SuitePOS uses the Square POS app in a special mode to process payments. Unlike Square Reader, this means the Square POS app will need to be installed alongside SuitePOS on your device. The Square Reader is connected via the USB hub to the Square ...
    • Square Payments Overview

      Square Payments is a great payment solution for retailers that want a modern, fast, easy to set up and a reliable gateway at competitive processing rates. SuitePOS is integrated using three methods: Square POS. Square Reader and Square Terminal. The ...
    • Tutorial: Using SuitePOS with Square and Afterpay for installment processing

      SuitePOS and Square fully support Afterpay. Afterpay is used by consumers to be able to pay (interest free) for goods in installments. This means shoppers have more spending power and likely to spend more. Setup Merchant: All you have to do is to ...
    • Tutorial: Setting up Square Terminal

      Square Terminal uses the Square Terminal API's to process credit card payments. The Square Terminal is connected via wifi to your local area network and can take contactless, chip and swipe payments. Step 1: Preliminary Order the Square Terminal from ...