• Resolved RichP

    (@rplakas)


    I can’t get this message to go away even after disconnecting and reconnecting.

    Not long after I reconnect, my Square info in the plugin settings (Business Location, Product Sync, etc,) will disappear, but the error will remain.

    I am on version 2.0.5 of the Square plugin and it has been this was for about 2 weeks now.

    Log looks like this:

    11-01-2019 @ 13:26:57 – Refreshing connection…
    11-01-2019 @ 13:26:57 – Connection successfully refreshed.
    11-01-2019 @ 13:26:58 – Refreshing connection…
    11-01-2019 @ 13:26:58 – Unable to refresh connection: Access token missing from the response
    11-01-2019 @ 13:26:59 – Refreshing connection…
    11-01-2019 @ 13:26:59 – Unable to refresh connection: Access token missing from the response
    11-01-2019 @ 13:27:00 – Refreshing connection…
    11-01-2019 @ 13:27:00 – Unable to refresh connection: Access token missing from the response
    11-01-2019 @ 13:27:02 – Disconnected due to invalid authorization. Please try connecting again.
    11-01-2019 @ 13:27:02 – Request
    Request
    method:
    uri: listCustomersWithHttpInfo
    user-agent: WooCommerce-Square/2.0.5 (WooCommerce/3.7.1; WordPress/5.2.4)
    headers: Array
    (
    )
    body:
    duration: 0.17438s

    11-01-2019 @ 13:27:02 – Response
    Response
    code: 401
    message:
    headers: Array
    (
    [0] => HTTP/1.1 401 Unauthorized
    [Content-Type] => application/json
    [Vary] => Origin, Accept-Encoding
    [X-Content-Type-Options] => nosniff
    [X-Download-Options] => noopen
    [X-Frame-Options] => SAMEORIGIN
    [X-Permitted-Cross-Domain-Policies] => none
    [X-Xss-Protection] => 1; mode=block
    [Date] => Fri, 01 Nov 2019 18:27:01 GMT
    [Content-Length] => 119
    [X-Envoy-Upstream-Service-Time] => 88
    [Strict-Transport-Security] => max-age=604800; includeSubDomains
    [Server] => envoy
    )
    body: Array
    (
    [errors] => Array
    (
    [0] => stdClass Object
    (
    [category] => AUTHENTICATION_ERROR
    [code] => UNAUTHORIZED
    [detail] => This request could not be authorized.
    )

    )

    )

    • This topic was modified 5 years, 1 month ago by RichP.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter RichP

    (@rplakas)

    Full error message in Dashboard is:

    Heads up! There may be a problem with your connection to Square. In order to continue accepting payments, please disconnect and re-connect your site.

    rdi-eric

    (@rdi-eric)

    I am having this issue as well. I’ve had to reconnect several times over the past few weeks. Any resolution?

    Plugin Support con

    (@conschneider)

    Engineer

    Hi,

    We are currently investigating this but so far there is no pattern emerging. Could you ask your hosting provider for access logs and firewall logs and whether they can see if there have been blocked connections to https://connect.squareup.com/

    Kind regards,

    rprice54

    (@rprice54)

    I keep getting this error as well

    Plugin Support Ryan Ray, a11n

    (@ryanr14)

    Hi @rplakas, @rdi-eric, and @rprice54,

    By any chance of updating to 2.0.6 does this help solve the troubles here with keeping your connection working?

    brendank

    (@brendank)

    So I’ve been having the disconnect problem over the last few weeks.
    My client called me saying her customers couldn’t pay by card. from her site.
    Square plugin had disconnected again – this has happened maybe 4 times this month?
    I had updated the plugin to the version that this forum had suggested fixed the problem, though evidently it hasn’t.

    The log entry after I have disconnected and reconnected today is:

    “11-22-2019 @ 13:34:34 – Access token successfully received.
    11-22-2019 @ 13:34:34 – Refresh token successfully received.
    11-22-2019 @ 13:34:35 – Disconnected due to invalid authorization. Please try connecting again.
    .
    .
    .
    body: Array
    (
    [errors] => Array
    (
    [0] => stdClass Object
    (
    [category] => AUTHENTICATION_ERROR
    [code] => UNAUTHORIZED
    [detail] => Your request did not include an Authorization 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://docs.connect.squareup.com/api/connect/v2/#requestandresponseheaders. If you are seeing this error message while using one of our officially supported client libraries, please report this to [email protected].
    )

    )

    )"

    brendank

    (@brendank)

    I was on 2.0.5 during the month this happened and now on version 2.0.7 after an update today.

    This problem has persisted through the major 2.X.X update.

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    This problem has persisted through the major 2.X.X update.

    Ok. I think we need to take a closer look. Please submit a ticket via: https://woocommerce.com/my-account/create-a-ticket/ – we ll take it from there.

    Kind regards,

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    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.

    Kind regards,

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Heads up! There may be a problem with your connection to Square. In order to con’ is closed to new replies.