QuickBooks Online API errors when syncing orders with discounts – October 2017
On or around October 4th, 2017, we received numerous reports from our users that some orders were not syncing from WooCommerce to QuickBooks Online – and logging the below error in the MyWorks Sync Log:
Error:6000: [A business validation error has occurred while processing your request, Business Validation Error: Unexpected Internal Error. (-30004)]
We immediately opened a few tickets with QuickBooks Online, until we realized this was not an integration error on our end but instead an error or major change in the QuickBooks Online API that affects any orders with discounts.
As of Tuesday, October 10, 2017, we have not received any response from QuickBooks Online. Due to their lack of response, we’ve issued an emergency plugin update, V1.1.0, and it is now available for download from your account with us, or automatic update in your WordPress admin. We will keep this post updated as we learn more.
This plugin update resolves this error, however it does require you change/turn on one setting in QuickBooks Online. You can read more about the content of this update in our documentation here.
Once you update to the latest version of our plugin, you can easily push over the affected orders in MyWorks Sync > Push > Orders.
Update (10/13/2017): Intuit Development Support has confirmed that the last QBO release added a new rule for SalesLineItemDetails that breaks cases where negative or zero-total line items are being sent via API, as well as unexpected results when querying LineItemDetails. Although we have fully patched our integration to avoid conflicts in this case, we are coordinating with QuickBooks Online Support to learn more and assist with troubleshooting.