Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter npmgutz

    (@npmgutz)

    @madeincosmos thanks for your reply. This is a real problem here. So you are saying the sync will only work from an specific location, and that specific location must have square payments enabled <— this right here is the problem.

    My location doesn’t have square payments enabled, I cannot receive payments through square card processing because my location’s country seems to be not supported for that.

    Having said that, I don’t see a reason for the developers of this plugin to restrict the sync (or its functionality) to only locations that accept payments through square… seems to me that one thing has nothing to do with the other.

    I use square as my inventory/invoicing system and I have had it connected to my woocommerce site for over 20 months with no problems what-so-ever. But since this update of the plugin requiring to link a location that receives payments in square, this totally stopped working…

    Again, to make myself clear, the plugin used to work perfect before.

    Can the developers enable locations with no square payments processing to be linked for inventory sync? Please…

    @madeincosmos thanks for your reply. This is a real problem here. So you are saying the sync will only work from an specific location, and that specific location must have square payments enabled <— this right here is the problem.

    My location doesn’t have square payments enabled, I cannot receive payments through square card processing because my location’s country seems to be not supported for that.

    Having said that, I don’t see a reason for the developers of this plugin to restrict the sync (or its functionality) to only locations that accept payments through square… seems to me that one thing has nothing to do with the other.

    I use square as my inventory/invoicing system and I have had it connected to my woocommerce site for over 20 months with no problems what-so-ever. But since this update of the plugin requiring to link a location that receives payments in square, this totally stopped working…

    Again, to make myself clear, the plugin used to work perfect before.

    Can the developers enable locations with no square payments processing to be linked for inventory sync? Please…

    In the log I see this type of errors:

    
    10-18-2019 @ 18:15:31 - Starting step cycle: update_product_data
    10-18-2019 @ 18:15:32 - Request
    Request
    method:
    uri: searchCatalogObjectsWithHttpInfo
    user-agent: WooCommerce-Square/2.0.4 (WooCommerce/3.7.1; WordPress/5.2.4)
    headers: Array
    (
    )
    body: {
        "object_types": [
            "ITEM"
        ],
        "include_deleted_objects": true,
        "begin_time": "2019-10-18T23:10:50+00:00"
    }
    duration: 0.34071s
    
    10-18-2019 @ 18:15:32 - Response
    Response
    code: 200
    message:
    headers: Array
    (
        [0] => HTTP/1.1 200 OK
        [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, 19 Oct 2019 00:15:31 GMT
        [keep-alive] => timeout=60
        [Strict-Transport-Security] => max-age=631152000
        [content-length] => 42
    )
    body: {}
    
    10-18-2019 @ 18:15:32 - Completed job step: update_product_data
    10-18-2019 @ 18:15:32 - Completed step cycle: update_product_data (0.53s)
    10-18-2019 @ 18:15:34 - Starting step cycle: update_inventory_counts
    10-18-2019 @ 18:15:34 - Request
    Request
    method:
    uri: batchRetrieveInventoryCountsWithHttpInfo
    user-agent: WooCommerce-Square/2.0.4 (WooCommerce/3.7.1; WordPress/5.2.4)
    headers: Array
    (
    )
    body: {
        "location_ids": [
            ""
        ],
        "updated_after": "2019-10-14T19:57:38+00:00"
    }
    duration: 0.12841s
    
    10-18-2019 @ 18:15:34 - Response
    Response
    code: 404
    message:
    headers: Array
    (
        [0] => HTTP/1.1 404 Not Found
        [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, 19 Oct 2019 00:15:34 GMT
        [keep-alive] => timeout=60
        [Strict-Transport-Security] => max-age=631152000
        [content-length] => 134
    )
    body: Array
    (
        [errors] => Array
            (
                [0] => stdClass Object
                    (
                        [category] => INVALID_REQUEST_ERROR
                        [code] => NOT_FOUND
                        [detail] => This merchant does not have a location with the ID <code></code>.
                    )
    
            )
    
    )
    
    10-18-2019 @ 18:15:34 - Failed step cycle: update_inventory_counts (0.18s) - [NOT_FOUND] This merchant does not have a location with the ID <code></code>.
    10-18-2019 @ 18:15:34 - [NOT_FOUND] This merchant does not have a location with the ID <code></code>.
    

    @madeincosmos in the log I see this type of errors:

    10-18-2019 @ 18:15:31 - Starting step cycle: update_product_data
    10-18-2019 @ 18:15:32 - Request
    Request
    method:
    uri: searchCatalogObjectsWithHttpInfo
    user-agent: WooCommerce-Square/2.0.4 (WooCommerce/3.7.1; WordPress/5.2.4)
    headers: Array
    (
    )
    body: {
        "object_types": [
            "ITEM"
        ],
        "include_deleted_objects": true,
        "begin_time": "2019-10-18T23:10:50+00:00"
    }
    duration: 0.34071s
    
    10-18-2019 @ 18:15:32 - Response
    Response
    code: 200
    message:
    headers: Array
    (
        [0] => HTTP/1.1 200 OK
        [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, 19 Oct 2019 00:15:31 GMT
        [keep-alive] => timeout=60
        [Strict-Transport-Security] => max-age=631152000
        [content-length] => 42
    )
    body: {}
    
    10-18-2019 @ 18:15:32 - Completed job step: update_product_data
    10-18-2019 @ 18:15:32 - Completed step cycle: update_product_data (0.53s)
    10-18-2019 @ 18:15:34 - Starting step cycle: update_inventory_counts
    10-18-2019 @ 18:15:34 - Request
    Request
    method:
    uri: batchRetrieveInventoryCountsWithHttpInfo
    user-agent: WooCommerce-Square/2.0.4 (WooCommerce/3.7.1; WordPress/5.2.4)
    headers: Array
    (
    )
    body: {
        "location_ids": [
            ""
        ],
        "updated_after": "2019-10-14T19:57:38+00:00"
    }
    duration: 0.12841s
    
    10-18-2019 @ 18:15:34 - Response
    Response
    code: 404
    message:
    headers: Array
    (
        [0] => HTTP/1.1 404 Not Found
        [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, 19 Oct 2019 00:15:34 GMT
        [keep-alive] => timeout=60
        [Strict-Transport-Security] => max-age=631152000
        [content-length] => 134
    )
    body: Array
    (
        [errors] => Array
            (
                [0] => stdClass Object
                    (
                        [category] => INVALID_REQUEST_ERROR
                        [code] => NOT_FOUND
                        [detail] => This merchant does not have a location with the ID <code></code>.
                    )
    
            )
    
    )
    
    10-18-2019 @ 18:15:34 - Failed step cycle: update_inventory_counts (0.18s) - [NOT_FOUND] This merchant does not have a location with the ID <code></code>.
    10-18-2019 @ 18:15:34 - [NOT_FOUND] This merchant does not have a location with the ID <code></code>.

    @madeincosmos every sync is failing please see the screenshot:
    screenshot1

    @madeincosmos you advise to use the “import all products from square” button, but that action says

    You are about to import all products from Square. This will create a new product in WooCommerce for every product retrieved from Square. Only use this action to perform a one-time import!

    I already have the products in WooCommerce, I don’t want to create new ones with this action, it will duplicate the products in Woocommerce?
    https://screencast.com/t/KOBGu9KC

    @madeincosmos will the sync work without a Business Location linked? I don’t have a location to choose from.
    https://www.screencast.com/t/Ln39yBog

    • This reply was modified 5 years, 4 months ago by npmgutz.

    @3wpromotions does your location in square supports credit card processing in square? I’m noticing in my case that in the plugin settings I can’t select any Business Location because it says only active locations that process credit card in square can be linked.
    I’m thinking this could be causing the problems to me and many other users that don’t have this in square, or are using the square free version.

    Same here, since the last update of the plugin it is not working anymore. The products created in Square are not getting created in Woocommerce. The inventory changes in Square is not getting synced in Woocommerce. Every time I run the update I get a message in the log saying

    Alert! Sync failed. Please try again

    not very helpful nor descriptive.

    I noticed that this new version of the plugin has this setting:
    Business Location -> Select a location to link to this site. Only active locations that support credit card processing in Square can be linked.
    In my case I don’t have any location to choose from in the selector (is empty) because my square location does not support credit card proccesing in square, I’m using the free version of Square.

    I think this could be causing the issues I see in the log an error

    Failed step cycle: pull_inventory (1.17s) – [NOT_FOUND] This merchant does not have a location with the ID

    because the array of location_ids is empty:

    "location_ids": [
            ""
        ]
Viewing 9 replies - 1 through 9 (of 9 total)