webfox / laravel-xero-oauth2

A Laravel integration for Xero using the Oauth 2.0 spec
MIT License
50 stars 32 forks source link

How to connect xero with api request? #51

Closed bilalswiftsolutions closed 3 years ago

bilalswiftsolutions commented 3 years ago

Actually, we can't afford the disconnection of the Xero app. Now I want to use corn job in order to connect my app with Xero. The idea is cronjob will check the connection after few minutes. if Xero is disconnected it will try to connect it again,.

Now the issue is We can connect Xero app with GUI by following certain steps? Is there any kind of APIs by which we can connect it again?

hailwood commented 3 years ago

Nope, the only way to connect is via the Oauth2 flow.

Honestly, given the number of issues you seem to be having with this package, I'm going to recommend giving https://github.com/calcinai/xero-php a go which is also a fantastic package.

It would be interesting to know if you run into the same issues with that package.