Docs
Order Sync

Order Sync

Sync WooCommerce orders to Square automatically or manually.

SquareSync Pro provides bidirectional order synchronization between WooCommerce and Square with support for multiple fulfillment types, location-based splitting, and real-time status updates.

Settings Location

Go to SWS Pro > Settings > Orders to configure order sync options.

Enable Order Sync

SettingDescription
Enable Order SyncToggle automatic order synchronization on/off
Sync TransactionsInclude transaction/receipt information with orders
Trigger StatusWhen to sync: Processing or Completed status

When Orders Sync

Orders sync to Square:

  • After checkout completion
  • When order status changes to the configured trigger status
  • When manually triggered via order actions dropdown

What Gets Synced

Line Items

  • Product name, quantity, unit price
  • Square catalog object ID (if product is synced)
  • Applied modifiers with prices
  • Per-item tax rates

Discounts & Coupons

  • Coupon codes and discount amounts
  • Negative fees converted to discounts
  • Applied at ORDER scope

Taxes

  • Non-zero tax rates only
  • Respects WooCommerce tax display settings
  • Handles tax-inclusive/exclusive pricing

Fees & Service Charges

  • Order fees synced as service charges
  • Tips and gift card fees excluded
  • Negative fees treated as discounts

Shipping

  • Shipping cost and method
  • Applied to first order only (when split by location)

Customer

  • Matched or created in Square automatically
  • Linked via email or phone number

Manual Order Sync

Sync Individual Order

  1. Go to WooCommerce > Orders
  2. Open the order you want to sync
  3. Select Sync order to Square from the Order Actions dropdown
  4. Click Update

Field Mapping Reference

Order Fields

WooCommerce FieldSquare Field
Order IDmetadata.wc_order_id
Customer IDcustomer_id
Currencycurrency
Billing namedisplay_name
Billing emailemail_address
Billing phonephone_number

Line Items

WooCommerceSquare
Product namename
Quantityquantity
Unit price (ex-tax)base_price_money
Catalog IDcatalog_object_id
Variationsmodifiers[]

Fulfillment

WooCommerceSquare
Shipping methodtype (PICKUP/DELIVERY/SHIPMENT)
Shipping addressrecipient.address
Pickup timepickup_at / deliver_at
Customer namerecipient.display_name
Customer emailrecipient.email_address

Important Notes

  • Payment Gateway Lock — When SquareSync Payment Gateway is enabled, basic sync settings are locked since orders sync automatically during payment
  • Timezone Handling — All times converted to UTC for Square, displayed in WordPress timezone
  • Duplicate Prevention — Atomic locks prevent orders from syncing twice

Troubleshooting

Orders not syncing

  • Verify order sync is enabled
  • Check the trigger status matches order state
  • Confirm Square connection is active
  • Review sync logs for errors

Duplicate orders

  • Check if both payment gateway and manual sync are triggering
  • Review webhook configuration
  • Verify atomic locks are working

Missing order data

  • Ensure all required fields are complete
  • Check for API errors in logs
  • Verify customer data exists