• Resolved Romwrdp

    (@romwrdp)


    Hi,

    I noticed that after connecting Woocommerce to Square, it gets automatically disabled after some time, and I have to re-connect the Square account manually.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Romwrdp

    (@romwrdp)

    This is also the error I found in Woocommerce dubug log:

    04-14-2021 @ 07:54:09 - Response
    Response
    code: 401
    message:
    headers: Array
    (
        [0] => HTTP/1.1 401 Unauthorized
        [Date] => Wed, 14 Apr 2021 07:54:09 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Content-Length] => 614
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [errors] => Array
            (
                [0] => stdClass Object
                    (
                        [code] => UNAUTHORIZED
                        [detail] => Your request did not include an <code>Authorization</code> http header with an access token. The header value is expected to be of the format "Bearer TOKEN" (without quotation marks), where TOKEN is to be replaced with your access token (e.g. "Bearer ABC123def456GHI789jkl0"). For more information, see https://developer.squareup.com/docs/build-basics/using-rest-api#__set-the-headers__ . If you are seeing this error message while using one of our officially supported client libraries, please report this to [email protected].
                        [category] => AUTHENTICATION_ERROR
    Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hey there!

    Could you please follow the instructions from here to ensure Square is set up correctly.

    The logs are indicative of a missing Authorization code, which is mostly due to an incorrect/incomplete setup.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce Square automatically disconnects from Square’ is closed to new replies.