Reputation: 1
Please help me, I'm integrating QuickBook API into our script and I get the message below when i run file: http://domain.com/build_20130416/dev/dev_ids_invoices.php
Fatal error: Call to undefined method QuickBooks_IPP::application()
I'm using php script.
Upvotes: 0
Views: 1916
Reputation: 27952
Please take the time to read the documentation and look at the example files in the docs/example_app_ipp_v3/
directory for the code you downloaded. Also, make sure you follow the quick-start guide. And next time, post your code.
If you look in the same dev/
directory for the code you're using, you'll see a file named:
DO_NOT_USE_THESE_FILES.txt
With the contents:
DO NOT USE THE EXAMPLES IN THIS FOLDER!
THESE ARE ALL DEVELOPMENT/TEST SCRIPTS, AND ARE NOT PRODUCTION READY!
You should not be using the example script you're trying to use just like the file says. It's a development testing script, and not an example that you should be using.
Instead, you should look at the code in the docs
directory, which has tons of working examples. Here's a link for you to the examples on GitHub:
Specifically, here's some related to invoices:
Upvotes: 1