Actually, what I need is for you to take the example script that uses the Xero API, change the values to put those client id and secret values.
Then add the API calls using the OAuth CallAPI function to perform the actions you want to do. Once you do this put it in a Git repository somewhere like private GitHub or Gitlab repository
Then let me know the what is the URL by sending me an email to
[email protected] so I can take it from there reproducing your enviroment and fix whatever is missing in the OAuth class.
Once you do this and mail me I will remove the message above to avoid sharing private credentials with the general public because the use of that Xero application that you created is your responsability and we do not want nothing bad to happen with it due to some possible abuse from strangers.
Can you do this and let me know?