I have read your project. I'm sure i can help you to do it.
I know why your hook file does not work now.
I have made many WHMCS modules, such as:
+ Notify skype when received a ticket.
+ Integrate VPS manage tools in clientarea: VNC console, firewall control, ....
+ Get graph (network traffic, hard disk I/O ...) through proxmox .
+ Calculate, draw chart of transactions.
+ Integrate domain registrar
+ Integrate new payment
I have 7 years of experience in Web Development, System & Network Administrator and Security Researcher.
Choose me then you will work with a Professional Devops, you won't be disappointed.
Thanks.