• Resolved budzburn

    (@budzburn)


    I noticed my Square disconnected and checked the logs and saw this. Is there anything I can do to stop this from happening? Any logs to check if it is causing a disconnect?

    05-14-2021 @ 13:22:27 – Access Token Expired, attempting a refresh.
    05-14-2021 @ 13:22:27 – Refreshing connection…
    05-14-2021 @ 13:22:27 – Connection successfully refreshed.
    05-14-2021 @ 13:22:27 – Disconnected due to invalid authorization. Please try connecting again.
    05-14-2021 @ 19:16:44 – Access token successfully received.
    05-14-2021 @ 19:16:44 – Refresh token successfully received.
    05-14-2021 @ 19:16:45 – Request
    Request
    method:
    uri: listCustomersWithHttpInfo
    user-agent: WooCommerce-Square/2.3.4 (WooCommerce/5.0.0; Wor

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Gui A. a11n

    (@guicmazeredo)

    Hi @budzburn! We are aware of two scenarios that could cause this to happen.

    1. If you have a security plugin that’s changing WP salts, then the Square API tokens won’t get decrypted properly each time the salts change and will fail to make API requests. Do you have any security plugins on your site?
    2. API keys weren’t properly refreshed. API access tokens from Square expire after a month but we automatically refresh them every week using the Action Scheduler. If you’re noticing this happen on a monthly basis, it’s possible it could be this issue. To check, go into the Action Scheduler (WooCommerce > Status > Scheduled Actions) and search for wc_square_refresh_connection and check there’s pending action in the future.

    Nicola Mustone

    (@nicolamustone)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Square disconnecting’ is closed to new replies.