Products are still syncing after sync is disabled
-
Hello!
When I have product sync disabled, WooCommerce is still sending product data to Square whenever an order is processed using Square Payments. This is causing my products in Square to decrement inventory when I do not want Woo touching inventory anymore. It’s also messing up the Square reports which has some serious real-world ramifications to business operations.
I took a look at the plugin’s logs and found that Woo continues to send the
catalog_object_id
to Square even when product data sync has been disabled. Here’s a snippet of the API request from Woo to Square when a payment has been made:"line_items": [ { "quantity": "1", "catalog_object_id": "XX34PS6SDHBFTW5NF7A5DKFQ", "applied_taxes": [], "base_price_money": { "amount": 3300, "currency": "USD" } },
This only happens to products that have been synced with Square at least once. For any product created after sync was disabled, Woo does not send a
catalog_object_id
in the request. Example:"line_items": [ { "name": "new to woo, new to me and you", "quantity": "1", "applied_taxes": [], "base_price_money": { "amount": 1500, "currency": "USD" } },
I assume the product name is included in the second example because otherwise the receipt in Square wouldn’t have a name for the line item, so there’s clearly some logic built in to understand how to send product info to Square even if product data sync is disabled. Why isn’t this happening to all products when sync is disabled?
Looking at the source code it seems like there’s already a function to remove Square meta from once-linked products, but it doesn’t look like this actually works right now.
Can this be fixed? Again, it’s creating real-world business issues. Once the sync is disabled, I expect products to not sync anymore, but that’s not the behavior I’m seeing.
Let me know if there’s more info I can provide to help!
- The topic ‘Products are still syncing after sync is disabled’ is closed to new replies.