Rendrag Posted August 28, 2014 Share Posted August 28, 2014 Hi Folks, We talk to our WHMCS via API from our customer portal - customers don't actually ever see WHMCS, we just use it on the backend as it handles billing SO well. We're in the process of rebuilding the customer portal as it's getting a little too patched together and hard to maintain. One of the issues on my list is that we're generating PDF's separately to WHMCS so when we change something we have to change it in both WHMCS and the portal. Has anyone worked out a way to pull invoice PDF's from WHMCS? If I *really* have to, I can create an admin user, then use curl calls to login as them and pull them that way, but that seems a bit icky... Is there a way we can call the invoicing even from a local PHP script on the WHMCS server? We need to be able to pull a few other things (like list of domain questions), so I'm thinking we're going to have to write our own little json api that sits beside the WHMCS api anyway.. Thanks, Damien 0 Quote Link to comment Share on other sites More sharing options...
Rendrag Posted September 17, 2014 Author Share Posted September 17, 2014 Just to reply to my own thread, incase anyone else wants to do this, we ended up just adding a new API call into our WHMCS install. See http://thewanderingsysadmin.net/?p=35 if you want info on extending the WHMCS API Cheers, Damien 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.