title: Quickbooks woocommerce sync web connector
body: <p>I am using a plugin called <a href="http://61extensions.com/shop/quickbooks-integration-woocommerce/" rel="nofollow noreferrer">Quickbooks Integration Woocommerce</a>. I am having some problems getting this to work correctly. There is a more recent version of the plugin however I can not purchase as it is out of stock for some reason.</p>
  <p>I also found <a href="https://github.com/consolibyte/quickbooks-php" rel="nofollow noreferrer">This Github repository</a> Which seems to be very similar to the plugin. Written by the same author. However I am not going to lie. I am in over my head. This is my first run at something like this and I cant seem to figure it out.</p>
  <p>So I am hoping if I post my error logs, someone can help point me in the direction needed and possibly provide me with some answers.</p>
  <p>For those that are not ware. You install the plugin and generate a .QWC file. You then upload that file to Quickbooks Web Connector and it will sync up your woocommerce products.</p>
  <p>Here is my .QWC file:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot;?&gt;
  &lt;QBWCXML&gt;
      &lt;AppName&gt;WooCommerce QuickBooks Connector&lt;/AppName&gt;
      &lt;AppID&gt;&lt;/AppID&gt;
      &lt;AppURL&gt;https://my-site.com/?qbconnector=A2DRnLfb8qrU&lt;/AppURL&gt;
      &lt;AppDescription&gt;QuickBooks Connector for Woocommerce.&lt;/AppDescription&gt;
      &lt;AppSupport&gt;https://my-site.com/?qbconnector=support&lt;/AppSupport&gt;
      &lt;UserName&gt;ply-quickbooks-connection&lt;/UserName&gt;
      &lt;OwnerID&gt;{ADA96507-86F1-4FCC-B1FF-166DE1813D21}&lt;/OwnerID&gt;
      &lt;FileID&gt;{ADA96507-86F1-4FCC-B1FF-966DE1813D21}&lt;/FileID&gt;
      &lt;QBType&gt;QBFS&lt;/QBType&gt;
      &lt;Notify&gt;false&lt;/Notify&gt;
      &lt;IsReadOnly&gt;false&lt;/IsReadOnly&gt;
  &lt;/QBWCXML&gt;
  </code></pre>
  <p>When I make the connection with Quickbooks Web Connector it seems to connect and authenticate. Then it proceeds to Say &quot;SendRequestXML failed&quot;. Here is the Log file: <a href="https://jsfiddle.net/m8berLyu/" rel="nofollow noreferrer">https://jsfiddle.net/m8berLyu/</a>. The thing that stood out to me is :</p>
  <pre><code>0161026.22:43:22 UTC    : QBWebConnector.SOAPWebService.do_sendRequestXML() : QBWC1041: SendRequestXML failed.
  Error message: Response is not well-formed XML.
  </code></pre>
  <p>And I have no clue what that means.</p>
  <p>Here is my error logs from the server:</p>
  <pre><code>[Wed Oct 26 23:23:23.100819 2016] [:error] [pid 10927] [client ] PHP Notice: wpdb::prepare was called &lt;strong&gt;incorrectly&lt;/strong&gt;. The query argument of wpdb::prepare() must have a placeholder. Please see &lt;a href=&quot;https://codex.wordpress.org/Debugging_in_WordPress&quot;&gt;Debugging in WordPress&lt;/a&gt; for more information. (This message was added in version 3.9.0.) in /nas/content/live/ply/wp-includes/functions.php on line 3996, referer: https://my-site.com/wp-admin/plugins.php?plugin_status=all&amp;paged=1&amp;s
  [Wed Oct 26 23:23:45.015771 2016] [:error] [pid 10926] [client ] PHP Notice: unserialize(): Error at offset 65529 of 65535 bytes in /nas/content/live/ply/wp-content/plugins/woocommerce-quickbooks/QuickBooks/WebConnector/Handlers.php on line 756
  [Wed Oct 26 23:35:09.153751 2016] [:error] [pid 312] [client ] PHP Notice: unserialize(): Error at offset 65532 of 65535 bytes in /nas/content/live/ply/wp-content/plugins/woocommerce-quickbooks/QuickBooks/WebConnector/Handlers.php on line 756
  [Wed Oct 26 23:38:37.273773 2016] [:error] [pid 466] [client ] PHP Notice: wpdb::prepare was called &lt;strong&gt;incorrectly&lt;/strong&gt;. The query argument of wpdb::prepare() must have a placeholder. Please see &lt;a href=&quot;https://codex.wordpress.org/Debugging_in_WordPress&quot;&gt;Debugging in WordPress&lt;/a&gt; for more information. (This message was added in version 3.9.0.) in /nas/content/live/ply/wp-includes/functions.php on line 3996, referer: https://my-site.com/wp-admin/admin.php?page=quickbooks_setup&amp;tab=sod_qbconnector_setup
  </code></pre>
  <p>And finally the code on line 756 on Handlers.php:</p>
  <pre><code>    $extra = '';
                      if ($next['extra'])
                      {
  //Line 756 below
                          $extra = unserialize($next['extra']);
                      }
  </code></pre>
  <p>As always any help at all is greatly appreciated. I am not unfamiliar to PHP but I am completely a noob when it comes to this specifically. Please let me know if any other information is needed.</p>
  <p>Thank You.</p>
  <p>Cheers,</p>
  <p>Sean</p>