CodeeoInsightsE-Commerce

Square WooCommerce Integration: A Step by Step Setup Guide

How to connect Square to WooCommerce with the official plugin, choose a system of record, test in sandbox and fix the sync problems stores hit most often.

To connect Square to WooCommerce, install the free Square for WooCommerce plugin, connect your Square account from the WooCommerce settings, choose which platform is the system of record for products and inventory, then test payments in sandbox mode before going live. The whole setup usually takes an afternoon, but the sync choice you make in the middle decides how smoothly the two systems work together afterward.

This guide covers each step in order, the settings that cause most problems, and when the integration is a good fit for your store.

What the Square and WooCommerce integration does

Square is a payments and point of sale platform used by many shops, cafes and service businesses. WooCommerce is the ecommerce plugin for WordPress. The official Square for WooCommerce plugin links them so you can take online card payments through Square and keep products, prices and stock aligned between your website and your physical counter.

According to the plugin's listing, it can sync product names, prices, categories, images and inventory in either direction, and it supports digital wallets such as Apple Pay and Google Pay. Cash App Pay is also supported, but only for US sellers.

Before you start

  • A Square account in a country Square supports. Square only operates in a limited set of countries, so confirm yours before planning around it.
  • An SSL certificate on your site. The plugin will not take payments without HTTPS.
  • Current versions of WordPress, WooCommerce and PHP that meet the plugin's stated requirements.
  • Clean product data with a unique SKU on every product and variation. Sync matches items by SKU, so duplicates and blanks cause most errors.
  • A full backup of your site and database, because the first sync can overwrite data.

Step by step: integrating Square with WooCommerce

1. Install the plugin

In your WordPress dashboard, go to Plugins, then Add New. Search for Square for WooCommerce, make sure the author is WooCommerce, then install and activate it.

2. Connect your Square account

Go to WooCommerce, then Settings, then the Square tab or the Payments tab. Click Connect with Square, log in to Square and approve the permissions it asks for. You return to WordPress once the connection is authorized.

3. Choose the business location

If your Square account has more than one location, pick the one whose stock and sales should connect to the website. Inventory counts are tracked per location in Square, so choosing the wrong one gives you the wrong stock levels online.

4. Pick a system of record

This is the most important setting. The plugin asks which platform owns your product data:

OptionWhat happensGood fit when
WooCommerceProducts and stock created in WooCommerce are pushed to SquareMost sales happen online and the shop is secondary
SquareProducts and stock managed in Square are pushed to WooCommerceYou sell mostly in person or across several locations
NoneSquare only processes payments; no product syncYou just want Square as a payment gateway

Pick one and stick to it. Editing the same product in both systems is the most common source of overwritten prices and wrong stock counts. Note that when Square is the system of record, you cannot change stock management on synced products from inside WooCommerce.

5. Enable payments

Under Payments, enable Square as a gateway. Set the title customers see at checkout, choose whether to capture payment immediately or authorize and capture later, and turn on digital wallets if you want Apple Pay and Google Pay buttons. Decide whether returning customers can save cards for faster checkout.

6. Run the first sync

Run a manual sync and watch the results. Current versions of the plugin skip products Square rejects and report them by name, SKU and reason instead of failing the whole sync. Fix the listed items, usually missing SKUs or unsupported attributes, then sync again.

Square WooCommerce Integration: A Step by Step Setup Guide: the main points, a Codeeo diagram
The main points of this guide at a glance.

7. Test in sandbox mode

The WooCommerce Square documentation describes a sandbox mode for testing before you go live. Use it on a staging copy of your site. Place orders with test cards, try a refund, a partial refund, a failed card and a wallet payment, and confirm that stock changes in both systems after each order.

8. Go live and monitor

Switch to production credentials, place one small real order and refund it. For the first few weeks, compare stock levels in both systems every few days and read the plugin's sync log. Problems found early are easy to fix; problems found after a busy weekend are not.

Benefits of using Square with WooCommerce

  • One payment provider for online and in person sales, so reporting, payouts and refunds sit in one dashboard.
  • Shared inventory, so an item sold at the counter is not still for sale online.
  • One place to manage products, whichever system you choose as the record.
  • Digital wallets and saved cards, which shorten checkout on mobile.
  • Square gift cards and discount codes, which the official documentation lists as supported.
  • Subscriptions and preorders through compatible WooCommerce extensions.

Common problems and how to fix them

Stock levels do not match

Usually caused by editing stock in the system that is not the record, or by products without SKUs. Pick one system to edit, fill in every SKU and run a fresh sync.

Variations are missing

Only attributes used for variations are synced. Attributes used just for display or filtering stay in WooCommerce.

Setup stalls or payments are declined with configuration errors

Disconnect and reconnect the Square account, check that the chosen location has online payments enabled in Square, and make sure caching or security plugins are not blocking the checkout scripts.

Gift card or wallet buttons do not show

Some payment features depend on the checkout type your theme uses. Test with the default WooCommerce checkout to see whether a theme or plugin conflict is the cause.

Square WooCommerce Integration: A Step by Step Setup Guide: further points, a Codeeo diagram
A short summary of the points covered further down.

When Square is the right choice, and when it is not

Square makes the most sense if you already use its point of sale in a physical location and want one view of stock and sales. If you only sell online, compare it with other gateways on the payment methods your customers prefer, payout timing and support for your country and currency. If your catalog is large or your product structure is complex, test the sync on a staging copy with your full catalog before committing.

A quick checkout teardown will show where shoppers drop off before you add a new gateway. If you want the integration done for you, Codeeo's WooCommerce developers and payment integration team have worked on stores like the Clocksprings Australia parts store.

Frequently asked questions

The plugin itself is free to install from the WordPress plugin directory.

Square charges its own processing fees on each transaction, which vary by country and payment type, so check the current rates in your Square account. You may also pay for hosting, an SSL certificate and any extra WooCommerce extensions, such as subscriptions, that you use alongside it.

Tell us what the business needs. We will tell you what to build first.

Schedule a free consultation and get a written recommendation, with costs, before you commit to anything.

Get in touch

PROVEN RESULTS

4.7 / 5verified reviews on Google