Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > Wrapper libraries >

Testing PHP Public/Partner Wrapper

Started by Creative Family -   in Wrapper libraries

Hi all,

I have been testing the Public/Partner Wrapper on Xero's Github Account

I have been given all the details to upgrade to partner but when testing my .pem files etc with this code https://github.com/XeroAPI/XeroOAuth-PHP - it gives me this error: This page requires a valid OAuth request key. Please contact the application attemping to access Xero to determine the problem.

Any ideas?

I have also asked another question as on my own code base i seem ot be getting a 403.7 error - See here
Best Reply as chosen by Creative Family (Original Poster)
Then you are not sending the client ssl cert in the second API call you are making.
If you have this line:
curl_setopt_array($ch, $options);

Then the cert references should be included....

Ronan Quirke (Community Manager)