Skip to content

Usage

  1. The customer chooses Square at checkout. A secure payment page opens with the card form and, where available, Apple Pay and Google Pay. The amount, currency and location are fixed by the shop; the browser only sends the one-time token.
  2. If the card needs a strong customer authentication, Square’s challenge appears inside the form. A refused card shows a plain message and the customer can try another card; each try is a separate payment attempt, and an order that was paid is never charged again.
  3. The order is marked paid after the add-on has read the payment back from Square. If the answer is lost (timeout), the order page shows the order as waiting, and the queue finds the payment again by its reference and finishes the order. If the customer never returns, the queue checks pending payments every few minutes.
  4. Open the order and the Square payment tab to see the status, the card (brand and last 4 digits), the Square receipt link, the payment reference and the refunds.
  5. Authorize mode (setting “Payment mode”): the payment is authorized and the order stays open. Use Capture payment or Void authorization on the tab. Square cancels an authorization that is not captured by itself; the tab shows when.
  6. To refund, enter an amount (empty = everything that is left) and a reason on that tab. Refunds are sent once; a repeated click never refunds twice. A refund that Square keeps “pending” stays pending until Square confirms it; one that Square rejects gives the amount back to the order. Refunds made in the Square Dashboard or at the counter appear on the payment after the next check.

The Square account (credentials, OAuth, POS sync, queue, log export) belongs to the store owner: an administrator bound to one storefront cannot open or change it. That administrator sees, captures, voids, refunds and reads back the payments of the orders of his own storefront only, and sees only that storefront’s log and job lists. The root administrator sees every storefront (or only the selected one in store mode).

Open Orders > Square payments > POS sync (needs the settings in Configuration).

  • Linking. A CS-Cart product (a product variation is a product too) is linked with a Square item variation when its product code equals the variation’s SKU. Only items that exist on both sides are linked; the add-on does not create products in either system. SKUs that several CS-Cart products share are marked Ambiguous and skipped until you make them unique.
  • Stock rule. The add-on remembers the last quantity both systems agreed on. At every run it adds each side’s change since then to the other: if the counter sold 3 and the shop sold 2 since the last run, both systems end up 5 lower. Stock never goes below 0. The first time a SKU is linked, Square’s count wins if Square has one; otherwise the CS-Cart count is written to Square. “CS-Cart to Square” or “Square to CS-Cart” in the settings make one system the master instead. Quantities are whole numbers (a fractional Square quantity is rounded).
  • Prices (optional). With “Push prices to Square” on, a changed CS-Cart price is written to the Square variation (only when the shop currency is the Square location’s currency and the Square variation has a fixed price). Square prices are never copied to CS-Cart.
  • Rhythm. A cycle is queued every “Sync interval” minutes and sooner when Square sends an inventory or catalog webhook. Sync now runs a cycle at once and reads the whole Square catalog again (the automatic cycles read only what changed since the last run, plus a full pass once a day). Large catalogs are processed in slices (2,000 SKUs per run); the add-on pauses and retries when Square’s rate limit is reached.
  • Square orders (optional). With “Import Square orders” on, completed Square orders of the location become CS-Cart orders with the status you choose. Only lines that match a linked product are imported; an order with no matching line is skipped. Imported orders are guest orders of a placeholder buyer. They do not decrease stock a second time: the counter sale reaches CS-Cart through the stock rule (the stock taken by placing the order is put back as a difference, so a web sale placed at the same moment keeps its own decrease).
  • Jobs: counts per state, the list with the last error, Retry, Remove and Run the queue now.
  • Log: filter and export what happened and when; tokens, card tokens and buyer data are never stored.
  • Connection: Application ID, access token, signature key, location, OAuth, Test connection, webhook URL.