Skip to content

Setting up Square

With the Square payment gateway add-on, you can allow your customers to pay for orders using your Square account.

Square is part of the core, free plugin and has platform fees. When you upgrade to the paid Square add-on, all platform fees are removed.

Configuring Square in Live/Production Mode

  • Go to Sunshine > Settings > Payments > Square
  • Optionally enter a custom name and description to show customers on the Checkout page
  • Select "Live" for the "Mode" option
  • Click the "Connect" button
  • Login to your Square account
  • Select which "Location" you would like to use

Configuring Square in Test Mode

Unfortunately Square does not have as easy a method to connect in test mode. You will need to create a Developer account.

  • Go to Square Developer and create an account if you do not yet have one
  • Add a new Application
  • Make sure you have the "Sandbox" tab selected at the top
  • Copy the "Application ID" and "Access Token" into the relevant Sunshine Photo Cart settings
Screenshot of Square credentials page

Step 1

Decide your checkout method:

Website: Users will stay on your website throughout the entire checkout process. This requires an SSL certificate!

Square's Website: Users are taken to Square's website to enter payment information and then returned back to your website after a successful payment. No SSL is required.

Step 2

Create an application:

Go here on the Square website to create a new Application and get all the following fields:

  • Application ID
  • Personal Access Token

If you want to some test purchases first, make sure to also grab the following:

  • Sandbox Application ID
  • Sandbox Access Token

Enter all these values into the Square settings in Sunshine.

Step 3

Select a location:

In the sub-menu where you created your Application, find the Locations tab. Get your Location ID and enter it into the settings.

Still need help?

If you have not yet found your answer in the documentation articles, please contact support