QuickBooks Desktop Integration required in php

2019-09-24 11:02发布

问题:

I am using QuickBooks PHP DevKit. I want to integrate QuickBooks Desktop with web service. I will be getting customers, invoices and sales receipts. I am trying to get customers using this file. \dev\dev_ids_customers.php I am worried how to get token and realmID.

Can you please help me?

回答1:

Start with this quick-start guide:

  • http://www.consolibyte.com/docs/index.php/PHP_DevKit_for_QuickBooks_-_Quick-Start

Using this code from GitHub:

  • https://github.com/consolibyte/quickbooks-php

Specially, you should be using the files in the docs/web_connector/ folder:

  • https://github.com/consolibyte/quickbooks-php/tree/master/docs/web_connector

The file that you mention:

  • /dev/dev_ids_customers.php

Is not related to QuickBooks desktop at all, and will not work. That file is for QuickBooks Online, which you are not using. Do not use this file. Use the files in the docs/web_connector/ folder that I have linked to above.

QuickBooks desktop files do not have realm IDs or tokens. You do not need them.