30. Square Up 2.0
How to Sign In to Square and Fetch API Keys?
Using Square with Foodship (Online Ordering & POS)
To accept payments via Square in Foodship Online Ordering / POS, you need the following Production credentials:
Application ID
Access Token
Location ID
Let’s get started.
Sign In to Square Developer
Open your browser and go to: https://developer.squareup.com
Click on Sign In.
Enter your login details and sign in.
If you do not have an account yet, click Create Account.
Fill in the required details ("Tell us about your business", contact details, etc.).
Complete the setup.

GIF 1
Create a Square Application
Go again to: https://developer.squareup.com
Click on Start Building.

Add / create your Business Application.
Once the application is created, Square will automatically generate Sandbox credentials:
Sandbox Application ID
Sandbox Access Token

GIF -2 Access ID & Application ID
⚠️ Note: Sandbox credentials are for testing purposes only.
Switch to Production Mode (Live Payments)
To accept real payments, you must activate Production mode.
In the Developer Dashboard, switch from Sandbox to Production.
Click on Activate your Square account.
Click the activation link shown on the screen (refer to the image).
You will be asked to enter:
Business details
Bank / account details
Complete and submit the form.

Square applications are created in sandbox (test) mode by default. Test mode does not process real payments.
To accept real customer payments and receive money in your bank account, you must switch to Production mode and use Production credentials in Foodship.
Without Production mode, live payments will not work.
Get Production Application ID, Access Token & Location ID
Once activation is complete:
Go to: https://developer.squareup.com
Open your Application.
Navigate to Credentials.
Make sure Production mode is selected.
Copy the following details:
Production Application ID
Production Access Token
Location ID
📌 Follow the steps shown in the GIF 3 from start to end to locate each key correctly.

GIF 3