x

Business location not showing up on WooCommerce

Trying to sync woocommerce and square. Woo asks for business location but the drop down box does not work. Business location is set in square it just won't show up when I log in thru woo. Which I believe is the reason nothing is syncing

36,949 Views
Message 1 of 44
Report
1 Best Answer

Best Answer

Hi there!

 

This is Phil from the WooCommerce team. This thread was brought to my attention, so I wanted to add a post with a little more information in case other's find this helpful.

 

If you've already set up a Business Location in Square, but aren't able to select it when using our WooCommerce Square plugin the problem is likely in your hosting environment.

 

Here are the two common hosting issues that will cause this issue:

 

  • If your host is blocking communication requests to either of the following endpoints, you won't be able to set your location:
https://connect.woocommerce.com/renew/square
https://connect.squareup.com/v1/me/locations
  • If you (or your host) have not properly configured your SSL certificate, Square will be unable to authenticate your site during the connection process. This can result in the Business Location not populating.
  • If your host has issues with cURL being improperly configured your site and Square will not be able to communicate

 

Typically the first two points are the most common and should be a quick fix for your host.

View Best Answer >

41,764 Views
Message 12 of 44
Report
43 REPLIES 43
Square Community Moderator

Hi @Dmnyc and welcome to the Community!
 

This is strange. Have you tried reaching out to WooCommerce's Support Team to see if they have any further information on why this could be happening? 

Ashley C
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
11,953 Views
Message 22 of 44
Report

How/ where did you get the Square Log?

 

6,170 Views
Message 23 of 44
Report

I contacted GoDaddy and they cleared everything you mentioned. Any other reason why my location wont load?

8,964 Views
Message 24 of 44
Report
Admin

Looks like @pgilpat was able to locate a solution for themselves. You can view their post in this thread here

 

Let me know if you have any other questions. 🙂

AshleyK
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
8,946 Views
Message 25 of 44
Report

hello

thanks for good posting.

However I don't know how to test that is block or not. please.. would you like let me know.

 

8,418 Views
Message 26 of 44
Report

I've been helping a client who ran into this issue. After confirming the Location was active, we tried disconnecting and reconnecting multiple times to no avail.

 

Quite strangely, it seems that removing an invalid Twitter account (someone had tried to enter a URL instead of a username) and then reconnecting finally showed the Location we needed. This makes me think that ensuring the Location fields are completely filled out and don't have any invalid fields is required to select a Location in WooCommerce.

8,187 Views
Message 27 of 44
Report

How do i get my host to not block these?

6,659 Views
Message 28 of 44
Report
Square Community Moderator

Hey @kdjfc,

 

Thanks for writing in to the Seller Community!

 

Who is your host? It might be worth reaching out to them directly for assistance as well.  

6,607 Views
Message 29 of 44
Report

Thanks for the response, but I wouldn't know how to identify several of these issues - for example, how would I know if my host is blocking those endpoints? Also, I ran the status report and I can see that cURL is installed and running version 7.70.0, OpenSSL/1.1.1g. But what do you mean if it is not properly configured - how would one know this? What sort of problems would I look for in the SSL Certificate to identify if it is properly or not properly configured? I am using Let's Encrypt certificate which is acceptable under current instructions for WooCommerce, but what else would I need to look for?

6,172 Views
Message 30 of 44
Report

See my earlier request/ reply to this posted above. This is not particularly useful without some information about to test those conditions.

6,170 Views
Message 31 of 44
Report

Correct: disconnect square and again connect square its working 100%.

9,653 Views
Message 32 of 44
Report

We have installed the WooCommerce Square Version 2.0.4 and our Square Business Location is not showing in the drop-down selections in Square WooCommerce setting tab. Our Square Business Location is active. Can you please help us understand why the Business Location is not showing? Thank you for your assistance!

9,203 Views
Message 33 of 44
Report
Square Community Moderator

Hi @VapenMerch

 

I've moved your post over to this existing thread, where @Woo_Phil helps out. 

 

Check out the Best Answer and let me know if that does the trick for you. 

9,150 Views
Message 34 of 44
Report

Here's how we solved our issue. Our server platform is Windows/IIS.

 

We ran into this article, which pointed to a fix for IIS. It worked perfectly.

 

https://martinsblog.dk/windows-iis-with-php-curl-60-ssl-certificate-problem-unable-to-get-local-issu...

 

Ultimately, we had to add the apostrophes

 

curl.cainfo=”C:\Program Files (x86)\PHP\v7.1\extras\ssl\cacert.pem”

 

Ultimately, we were missing the CA cert from Mozilla.

 

Credit WooCommerce Square phenomenal support team!!!

9,068 Views
Message 35 of 44
Report
Admin

Thanks for sharing this @pgilpat

️ Helen
Seller Community Manager

9,058 Views
Message 36 of 44
Report

Hello,

I have setup everything with square and woocommerce and just have one last step of choosing from the drop down my business address. When i go to choose an address it does not populate and give me any addresses to choose from.

 

Some facts about my site and what i have tried.

-My site is completely https compliant, images and all.

- I have tried disabling all plugins and tried it.

- I have a business address registered in square

- I have checked if my host is blocking communication with the following links, 

https://connect.woocommerce.com/renew/square
https://connect.squareup.com/v1/me/locations

- I have tried changing themes

- I have tried checking the debug mode and log any errors with no luck.

- I have updated all plugins, themes and wordpress updates.

- I have tried disconnecting and reconnecting multiple times. 

 

Does anyone else have any other ideas? i have never had this much trouble connecting with a processor before.

 

Thanks

8,544 Views
Message 37 of 44
Report
Admin

Hey! I merged your question with a thread that had been working on this exact issue. 

 

These two specific posts may help you solve the issue:

 

Post 1

Post 2

 

Let me know if you have any other questions. 🙂

AshleyK
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
8,412 Views
Message 38 of 44
Report

We have tried the solutions given in this thread, but have had no luck in connecting woocommerce to square. We have also tried disconnecting and reconnecting square several times, which also didn't have any effect. 

 

Here is the debug log for the product sync attempt.

 

05-26-2020 @ 15:46:57 - Access token successfully received.
05-26-2020 @ 15:46:57 - Refresh token successfully received.
05-26-2020 @ 15:50:47 - Starting step cycle: import_products
05-26-2020 @ 15:59:29 - Starting step cycle: import_products
05-26-2020 @ 16:07:36 - Starting step cycle: import_products
05-26-2020 @ 16:14:07 - Starting step cycle: import_products
05-26-2020 @ 16:16:02 - Starting step cycle: import_products
05-26-2020 @ 16:16:47 - Starting step cycle: import_products
05-26-2020 @ 16:17:38 - Starting step cycle: import_products
05-26-2020 @ 16:23:20 - Starting step cycle: import_products
05-26-2020 @ 16:37:26 - Starting step cycle: import_products
05-26-2020 @ 16:38:57 - Manually disconnected
05-26-2020 @ 16:39:20 - Access token successfully received.
05-26-2020 @ 16:39:20 - Refresh token successfully received.
05-26-2020 @ 16:43:07 - Request
Request
method:
uri: listLocationsWithHttpInfo
user-agent: WooCommerce-Square/2.1.5 (WooCommerce/4.1.1; WordPress/5.4.1)
headers: Array
(
)
body:
duration: 0.13499s

05-26-2020 @ 16:43:07 - Response
Response
code: 0
message:
headers:
body:

05-26-2020 @ 16:43:17 - Request
Request
method:
uri: listLocationsWithHttpInfo
user-agent: WooCommerce-Square/2.1.5 (WooCommerce/4.1.1; WordPress/5.4.1)
headers: Array
(
)
body:
duration: 0.175s

05-26-2020 @ 16:43:17 - Response
Response
code: 0
message:
headers:
body:

05-26-2020 @ 16:43:27 - Starting step cycle: import_products
05-26-2020 @ 16:43:27 - Request
Request
method:
uri: searchCatalogObjectsWithHttpInfo
user-agent: WooCommerce-Square/2.1.5 (WooCommerce/4.1.1; WordPress/5.4.1)
headers: Array
(
)
body: {
    "object_types": [
        "ITEM"
    ],
    "include_related_objects": true,
    "limit": 100
}
duration: 0.11083s

05-26-2020 @ 16:43:27 - Response
Response
code: 0
message:
headers:
body:

05-26-2020 @ 16:43:35 - Request
Request
method:
uri: listLocationsWithHttpInfo
user-agent: WooCommerce-Square/2.1.5 (WooCommerce/4.1.1; WordPress/5.4.1)
headers: Array
(
)
body:
duration: 0.13831s

05-26-2020 @ 16:43:35 - Response
Response
code: 0
message:
headers:
body:

05-26-2020 @ 16:43:46 - Request
Request
method:
uri: listLocationsWithHttpInfo
user-agent: WooCommerce-Square/2.1.5 (WooCommerce/4.1.1; WordPress/5.4.1)
headers: Array
(
)
body:
duration: 0.09397s

05-26-2020 @ 16:43:46 - Response
Response
code: 0
message:
headers:
body:

05-26-2020 @ 16:50:41 - Request
Request
method:
uri: listLocationsWithHttpInfo
user-agent: WooCommerce-Square/2.1.5 (WooCommerce/4.1.1; WordPress/5.4.1)
headers: Array
(
)
body:
duration: 0.08159s

05-26-2020 @ 16:50:41 - Response
Response
code: 0
message:
headers:
body:

05-26-2020 @ 17:04:58 - Manually disconnected
05-26-2020 @ 17:06:17 - Access token successfully received.
05-26-2020 @ 17:06:17 - Refresh token successfully received.
05-26-2020 @ 17:06:23 - Request
Request
method:
uri: listLocationsWithHttpInfo
user-agent: WooCommerce-Square/2.1.5 (WooCommerce/4.1.1; WordPress/5.4.1)
headers: Array
(
)
body:
duration: 0.13997s

05-26-2020 @ 17:06:23 - Response
Response
code: 0
message:
headers:
body:

05-26-2020 @ 17:06:36 - Request
Request
method:
uri: listCustomersWithHttpInfo
user-agent: WooCommerce-Square/2.1.5 (WooCommerce/4.1.1; WordPress/5.4.1)
headers: Array
(
)
body:
duration: 0.1343s

05-26-2020 @ 17:06:36 - Response
Response
code: 0
message:
headers:
body:

05-26-2020 @ 17:07:01 - Request
Request
method:
uri: listLocationsWithHttpInfo
user-agent: WooCommerce-Square/2.1.5 (WooCommerce/4.1.1; WordPress/5.4.1)
headers: Array
(
)
body:
duration: 0.10879s

05-26-2020 @ 17:07:01 - Response
Response
code: 0
message:
headers:
body:

05-26-2020 @ 18:41:38 - Request
Request
method:
uri: listLocationsWithHttpInfo
user-agent: WooCommerce-Square/2.1.5 (WooCommerce/4.1.1; WordPress/5.4.1)
headers: Array
(
)
body:
duration: 0.16745s

05-26-2020 @ 18:41:38 - Response
Response
code: 0
message:
headers:
body:

Thanks in advance! 

7,879 Views
Message 39 of 44
Report
Square Community Moderator

Hey @crossei,

 

We'd recommend reaching out to WooCommerce directly since we're directly partnered with Weebly now.

 

WooCommerce is a third party with us so we wouldn't be able to look into this further from our end. 

Ashley C
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
7,829 Views
Message 40 of 44
Report

I have several square for different businesses.  I am building a Woocommerce site for one.  I have downloaded Square for Woocommerce, as I did on the other two sites.  When I went to set it up I guess I wasn't paying close enough attention and it connected to the last square account that I had signed into.  Now it's connected to the wrong account.  There doesn't appear to be an option to change the attached account.  I've tried deactivating the square plug in and reactivating it.  It kept the wrong account information and didn't offer any options.  I tried removing the plug in and re-installing it,  Same thing.  How do I change the attached woocommerce accounts in square?  There should be something somewhere in the dashboard that shows what is attached to your account - and it should be editable!!  Help!!  

7,419 Views
Message 41 of 44
Report
Admin

@TLane I'm sorry to hear about this! I've merged your post to an existing thread that may help get you on the right track. I suggest following the answer that @Woo_Phil provides and then reaching out to WooCommerce themselves if that doesn't help. 

 

Also, welcome to the Seller Community! Please let me know if you have any other questions. 

AshleyK
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
7,410 Views
Message 42 of 44
Report