• Resolved Spencer

    (@enderandpeter)


    I am trying to sync Square “Items” with the products in WooCommerce. I am setting up this site. I am working in a local environment simply trying to make this happen.

    When I click Import all products from Square WooCommerce shows the message “It looks like your site does not support background processing…” and the Update page stays stuck with the message “Importing now…” and a disabled Sync Now button.The docs are very unhelpful. The solution is “If your site fails, please contact your host to enable background processing/loopback connections”. The host is my freakin’ computer. Why don’t you tell me exactly what I must enable?

    I have been searching online for a long time, finding a lot of forum posts here and other places about this problem, none with a solution. In almost every conversation, the OP disappears. What is mind-boggling is that no where on the Internet can I find anyone saying what specifically must be done to enable this feature that woocommerce-square wants.

    I have enabled allow_url_fopen and set define(‘ALTERNATE_WP_CRON’, true). Neither makes a difference. When I am logged in, the response to https://my.domain.local/wp-admin/admin-ajax.php?action=wc_square_background_sync_test is 0. When I am logged out, I get the correct response of [TEST_LOOPBACK]. This person describes a similar experience, again one of many threads where the OP vanishes into thin air with no solution.

    Please tell me what specifically I need to do on the server to enable the background processing that this plugin needs. This very well may be the only page on the Internet that will actually talk about this in a straightforward way.

    • This topic was modified 4 years ago by Spencer. Reason: typo
    • This topic was modified 4 years ago by Spencer. Reason: A little more detail
Viewing 1 replies (of 1 total)
  • Thread Starter Spencer

    (@enderandpeter)

    Okay, I’m in a better situation now after working with this in a live environment.

    It looks like the product syncing simply will not occur in a site where the domain name cannot be publicly accessed. Now that I am working with the site in a public place, the feature works as expected. From what I see, all that is needed to import a product is to give it an SKU.

    Take note that if you are connected to a Square sandbox environment, then it will use the Items in that environment.

    And so the warning was confusing because it would seem that everything for background/loopback processing is indeed enabled, but it also needs to be able to verify your domain. As far as loopback connections, my local site can indeed reach itself via the hosts file settings. I’m still not sure what exactly must be enabled for “background processing” specifically.

    • This reply was modified 4 years ago by Spencer. Reason: typo
Viewing 1 replies (of 1 total)
  • The topic ‘looks like your site does not support background processing’ is closed to new replies.