• Resolved sacfc

    (@sacfc)


    We have just signed up to Square and are trying to set up our site to take payments using our Square account. We have installed the plugin, set up our Square account, had our account verified, set up locations etc. However, no matter how many times we connect / disconnect, follow advice given here, we cannot get the dropdown to populate with a location. Here is extract from the logs:

    04-16-2021 @ 21:35:57 – Manually disconnected
    04-16-2021 @ 21:36:06 – Access token successfully received.
    04-16-2021 @ 21:36:06 – Refresh token successfully received.
    04-16-2021 @ 21:36:09 – Request
    Request
    method:
    uri: listLocationsWithHttpInfo
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body:
    duration: 0.52211s

    04-16-2021 @ 21:36:09 – Response
    Response
    code: 200
    message:
    headers: Array
    (
    [0] => HTTP/2 200
    [content-type] => application/json
    [square-version] => 2019-08-14
    [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, 16 Apr 2021 21:36:09 GMT
    [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    )
    body: {
    “locations”: [
    {
    “id”: “LWVP3Y41TY5G2”,
    “name”: “Clarence Park”,
    “address”: {
    “address_line_1”: “Clarence Park Stadium”,
    “locality”: “St. Albans”,
    “postal_code”: “AL14NF”,
    “country”: “GB”
    },
    “timezone”: “Europe\/London”,
    “status”: “ACTIVE”,
    “created_at”: “2021-04-09T17:46:21Z”,
    “merchant_id”: “MLMMGZB1NAXSY”,
    “country”: “GB”,
    “language_code”: “en-GB”,
    “currency”: “GBP”,
    “phone_number”: “+44 1727 848914”,
    “business_name”: “St Albans City FC”,
    “type”: “PHYSICAL”,
    “website_url”: “www.stalbanscityfc.com”,
    “business_hours”: {},
    “business_email”: “[email protected]”,
    “twitter_username”: “stalbanscityfc”,
    “instagram_username”: “stalbanscity_fc”,
    “facebook_url”: “facebook.com\/stalbanscityfc”,
    “coordinates”: {
    “latitude”: 51.7535290000000003374225343577563762664794921875,
    “longitude”: -0.324012000000000022215118633539532311260700225830078125
    },
    “logo_url”: “https:\/\/d1g145x70srn7h.cloudfront.net\/files\/a346f0cb02fc1ccc0e88c47492a1656c9852bdbe\/original.png”,
    “pos_background_url”: “https:\/\/d1g145x70srn7h.cloudfront.net\/files\/afeec36c004a7dbcd4489c3dde34eea137b1d092\/original.jpeg”
    },
    {
    “id”: “L63Y17TD8JS8V”,
    “name”: “St Albans City FC”,
    “address”: {
    “address_line_1”: “Clarence Park”,
    “locality”: “St. Albans”,
    “postal_code”: “AL14NF”,
    “country”: “GB”
    },
    “timezone”: “Europe\/London”,
    “status”: “INACTIVE”,
    “created_at”: “2021-04-09T09:08:28Z”,
    “merchant_id”: “MLMMGZB1NAXSY”,
    “country”: “GB”,
    “language_code”: “en-GB”,
    “currency”: “GBP”,
    “phone_number”: “+44 1727 848914”,
    “business_name”: “St Albans City FC”,
    “type”: “PHYSICAL”,
    “website_url”: “https:\/\/www.stalbanscityfc.com”,
    “business_hours”: {},
    “business_email”: “[email protected]”,
    “twitter_username”: “stalbanscityfc”,
    “instagram_username”: “stalbanscity_fc”,
    “facebook_url”: “facebook.com\/stalbanscityfc”,
    “coordinates”: {
    “latitude”: 51.7535290000000003374225343577563762664794921875,
    “longitude”: -0.324012000000000022215118633539532311260700225830078125
    },
    “logo_url”: “https:\/\/d1g145x70srn7h.cloudfront.net\/files\/a346f0cb02fc1ccc0e88c47492a1656c9852bdbe\/original.png”,
    “pos_background_url”: “https:\/\/d1g145x70srn7h.cloudfront.net\/files\/abf257fa4e6b38d1884bae150b8a43f49fd412ca\/original.png”
    }
    ]
    }

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sacfc

    (@sacfc)

    Resolved – Square needed to update our account to allow card processing

    I’m encountering the same exact problem, although in the log it looks as though the location is recognized. Please help, here is the log:

    05-15-2021 @ 02:07:01 - Request
    Request
    method:
    uri: listLocationsWithHttpInfo
    user-agent: WooCommerce-Square/2.5.0 (WooCommerce/5.3.0; WordPress/5.7.2)
    headers: Array
    (
    )
    body:
    duration: 0.12266s
    
    05-15-2021 @ 02:07:01 - Response
    Response
    code: 200
    message:
    headers: Array
    (
        [0] => HTTP/2 200
        [content-type] => application/json
        [square-version] => 2019-08-14
        [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] => Sat, 15 May 2021 02:07:01 GMT
        [content-length] => 1248
        [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    )
    body: {
        "locations": [
            {
                "id": "368MG1CE3PWTK",
                "name": "New Life LLC",
                "address": {
                    "address_line_1": "44 Wingfield Way",
                    "locality": "ASHEVILLE",
                    "administrative_district_level_1": "NC",
                    "postal_code": "28806",
                    "country": "US"
                },
                "timezone": "America\/New_York",
                "status": "ACTIVE",
                "created_at": "2016-06-21T15:54:49Z",
                "merchant_id": "W1J2X208TWMF3",
                "country": "US",
                "language_code": "en-US",
                "currency": "USD",
                "phone_number": "+1 828-545-7203",
                "business_name": "New Life LLC",
                "type": "PHYSICAL",
                "website_url": "https:\/\/thenewlifecbd.com\/",
                "business_hours": {
                    "periods": [
                        {
                            "day_of_week": "SUN",
                            "start_local_time": "00:00:00",
                            "end_local_time": "12:00:00"
                        },
                        {
                            "day_of_week": "MON",
                            "start_local_time": "00:00:00",
                            "end_local_time": "12:00:00"
                        },
                        {
                            "day_of_week": "TUE",
                            "start_local_time": "00:00:00",
                            "end_local_time": "12:00:00"
                        },
                        {
                            "day_of_week": "WED",
                            "start_local_time": "00:00:00",
                            "end_local_time": "12:00:00"
                        },
                        {
                            "day_of_week": "THU",
                            "start_local_time": "00:00:00",
                            "end_local_time": "12:00:00"
                        },
                        {
                            "day_of_week": "FRI",
                            "start_local_time": "00:00:00",
                            "end_local_time": "12:00:00"
                        },
                        {
                            "day_of_week": "SAT",
                            "start_local_time": "00:00:00",
                            "end_local_time": "12:00:00"
                        }
                    ]
                },
                "business_email": "[email protected]",
                "facebook_url": "facebook.com\/newlifecbd1",
                "coordinates": {
                    "latitude": 35.64375100000000173849912243895232677459716796875,
                    "longitude": -82.630010999999996101905708201229572296142578125
                }
            }
        ]
    }
    
    05-15-2021 @ 02:07:14 - Manually disconnected
    05-15-2021 @ 02:07:33 - Access token successfully received.
    05-15-2021 @ 02:07:33 - Refresh token successfully received.
    05-15-2021 @ 02:07:37 - Request
    Request
    method:
    uri: listLocationsWithHttpInfo
    user-agent: WooCommerce-Square/2.5.0 (WooCommerce/5.3.0; WordPress/5.7.2)
    headers: Array
    (
    )
    body:
    duration: 0.14211s
    Plugin Support wpnomad a11n

    (@wpnomad)

    Hi @sacfc ,

    Thanks for the update, glad that the issue is resolved for you.

    @cjfrisco – Per the forum guidelines, separate sites should have separate threads. Could you please open a new thread so we can help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Business Location dropdown not populated in settings’ is closed to new replies.