• Resolved Ilhan Raja

    (@yungraj)


    I am having trouble setting up WooCommerce, and would like to understand why I am having the issue of the Business Location dropdown menu not populating with my locations when I connect with Square. I searched the internet for the proper procedure for synchronization and integration, and the steps required to carry this out were enabling SSL, ensuring my host provider was not blocking gateway access to Square or any other domains for that matter, activating my locations under Business->Locations in Square Dashboard, which they now are and have been, and then finally enabling Credit Card transactions in the location that I would like to sync with. I think the layout changed in Square on behalf of this, and therefore I haven’t seen a definite menu that allows me to both “Verify my identity” and enable credit card transactions, which is effectively my final goal with my site so paying bills can be performed. Any ideas?

    Here is the WooCommerce status log that specifies failure to authorize the retrieval request.

    08-06-2020 @ 16:26:40 - Request
    Request
    method:
    uri: listLocationsWithHttpInfo
    user-agent: WooCommerce-Square/2.1.6 (WooCommerce/4.3.1; WordPress/5.4.2)
    headers: Array
    (
    )
    body:
    duration: 0.18696s
    
    08-06-2020 @ 16:26:40 - Response
    Response
    code: 401
    message:
    headers: Array
    (
        [0] => HTTP/2 401
        [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] => Thu, 06 Aug 2020 16:26:40 GMT
        [content-length] => 119
        [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [errors] => Array
            (
                [0] => stdClass Object
                    (
                        [category] => AUTHENTICATION_ERROR
                        [code] => UNAUTHORIZED
                        [detail] => This request could not be authorized.
                    )
    
            )
    
    )
    
    08-06-2020 @ 16:26:40 - Could not retrieve business locations.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    I believe that this is more of a request that Square can shed some light on, as it looks like there’s some issue with the credentials/permissions on the Square account. They should be able to point you in the right direction with that log message you shared.

    Hopefully that helps! Have a great one!

    Hi there @slash1andy,

    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 ‘Business locations retrieval failed’ is closed to new replies.