PHP-Xero
PHP-Xero copied to clipboard
A php class to interact with the Xero API
Hi, Thanks for writing this class, it's been _so_ helpful. I did encounter a few bugs and issues since using it, which I've fixed in my repo. These add proper...
When sending international characters this messages pops up "Xml for post data was invalid, Reference to undeclared entity 'Atilde'" According to this Stackoverflow http://stackoverflow.com/questions/552957/, addChild() does not escape xml entities,...
All methods seem to work fine except $xero->Payments The screen just goes blank after calling the following method with print_r. I've PHP error values set to show all & it's...
Hi, When attempting to add a payment I get the following error: PHP Warning: curl_exec(): CURLOPT_INFILE resource has gone away, resetting to default in xero.php on line 309 If I...
What's the best way to check for an error response? If, for example, you make an API call that succeeds, but the request itself is an error, how should I...
Hi, Great work just a couple of niggles. Seems that Items are supported in the class methods. You can add this quite simply by amending the valid methods arrays to...
I've had a crack, but can't work out how the library is handling tracking categories. Could you please add a tracking category to the example for posting an invoice? Thanks
it took me a bit of playing around before I realized that the error: Fatal error: Call to a member function get_name() on a non-object in /xero.php on line 784...
Hai, I am web developer, my client wants to integrate xero with his application, he has given XERO_KEY and XERO_SECRET. Where can I get the files publickey.cer and privatekey.pem? Is...