Search code examples
codeigniterquickbooksquickbooks-onlineintuit-partner-platform

Is it possible to incorporate QuickBooks PHP DevKit into CodeIgniter


Specifically speaking, is it possible to use Consolibyte's Quickbooks PHP DevKit into an app using the CodeIgniter framework? If so, where would I place it in my directory structure, and how would I access it? I'm just doing some preliminary research into whether or not this could be used to integrate my app with Quickbooks Online.

Thanks for any input!


Solution

  • is it possible to use Consolibyte's Quickbooks PHP DevKit into an app using the CodeIgniter framework?

    Yes, of course!

    If so, where would I place it in my directory structure, and how would I access it?

    Entirely up to you. Usually people put it in a library/quickbooks/ directory or something. Then, just use require_once 'path/to/library/quickbooks/QuickBooks.php'; like you would with any other PHP script.

    I'm just doing some preliminary research into whether or not this could be used to integrate my app with Quickbooks Online.

    It can be used for that.

    You'll need a controller that kicks off the OAuth process. So basically you'll use the code from here:

    To show the connect button, and then put this code into a controller to kick off OAuth:

    From there, you can use the other example code snippets to exchange data with QuickBooks.

    If you have trouble, post your code so we can see what you're doing (feel free to use our support forums if you need more detailed help/discussion: http://www.consolibyte.com/forum/)