Skip to content

Troubleshooting

  • Check the mode: test credentials only work in test mode and live credentials only in live mode.
  • Check for spaces before or after the client ID and secret.
  • The Log tab shows Square’s answer (masked). Common codes: UNAUTHORIZED (wrong or revoked access token, or a sandbox token used in live mode), ACCESS_TOKEN_EXPIRED (OAuth token; the add-on renews it, reconnect if that fails), INVALID_LOCATION (the saved location is not a location of this account), RATE_LIMITED (too many calls; the add-on pauses and retries).
  • A message “Choose a Square location” means the account has several active locations: pick one on the Connection page.
  • Your server must be able to reach the provider over HTTPS (outgoing port 443) and have a current CA bundle.

Nothing happens after an order changes status

Section titled “Nothing happens after an order changes status”
  • Check Settings > General > Enable and the order status settings.
  • Check the license status bar on the add-on pages.
  • Open Jobs: queued jobs wait for cron. If the counts never change, the cron job is not running; run the command from the settings page by hand once.

A job is “Waiting to retry” or “Gave up”

Section titled “A job is “Waiting to retry” or “Gave up””

The last error is shown in the list. Fix the cause (credentials, data, provider outage) and press Retry. Jobs are retried automatically after 5 minutes, 15 minutes, 1 hour, 3 hours and 12 hours before they give up.

The customer sees a short plain message (“declined”, “insufficient funds”, “check the security code” …) and can try another card. The Log has Square’s error code (GENERIC_DECLINE, INSUFFICIENT_FUNDS, CVV_FAILURE, ADDRESS_VERIFICATION_FAILURE …). If every card fails, check that the shop currency is the currency of the Square location and that the access token still works (Test connection). A customer browsing in a secondary display currency is charged in the shop’s primary currency when that is the currency of the Square location (the order is always stored in the primary currency). A failed Test connection (or a rejected access token) is shown on the Connection page; it does not switch the payment method off at checkout, so repeat the test after fixing the credentials.

An order shows “waiting” but the card was charged

Section titled “An order shows “waiting” but the card was charged”

The answer from Square was lost. Nothing is charged twice: the queue finds the payment by its reference within a few minutes and finishes the order. Check status at Square on the order tab does it at once.

The 30 minutes the add-on waits before it gives up on such a payment start when the card was SENT to Square, not when the payment page was opened, so a customer who kept the page open for an hour is not affected. If nothing is found 30 minutes after the send, the attempt is marked failed with the note “No payment was found at Square for this attempt”, but it is still looked up every 30 minutes for 3 days, and a Square notification for such a payment is matched to the order by its reference: if the payment turns up late, the order is marked paid after all (or flagged as a duplicate when the order was paid another way meanwhile).

They appear only where the device supports them. Apple Pay needs Safari, HTTPS and your domain verified in your Square account; the add-on ignores a wallet that fails to start and still shows the card form.

  • POS sync page: is the SKU linked? A product is linked only when its product code equals the Square SKU; a state “Ambiguous” means several CS-Cart products share the SKU.
  • The Square item variation must have inventory tracking on and a count at the chosen location; a variation without a count gets the CS-Cart number the first time.
  • Check “Sync stock with Square” and that the cron job runs. Sync now shows what changed.
  • In Multi-Vendor the sync needs owner mode off and a Square account per vendor.
  • The webhook signature key on the Connection page must be the one Square shows for the same subscription and mode.
  • The Webhook notification URL on the Connection page must equal the subscription URL character for character (the signature includes it, so http versus https, a trailing slash or a different host makes every notification fail).
  • The web address must be the one on the Connection page, reachable from the internet and not behind a login or an IP filter.
  • Rejected events are listed in the log with the action “webhook”.

The key in the address is wrong. Copy the address again from the settings page.

Contact us through https://cs-cart.kaviolabs.com with the add-on version, the CS-Cart version and the relevant log lines (secrets are masked automatically).