WHMCS create a todo after an invoice has been paid

Sometimes you need to perform a manual action right after the client pays a certain invoice.

With this Custom Hook this is easily done.

Read more

WHMCS Database Select and loop through results

Let’s take a look at a simple operation with the database today.

Before using this code you should initialise capsule as written in this post. Read more

WHMCS API CreateToDo

For some reasons WHMCS has a UpdateToDoItem to be able to update a todo as well as GetToDoList and GetToDoItemStatuses to manage todo using API, but not a CreateToDo API function.

Because of this reason we just decided to create a custom API to create a ToDo record. Read more

WHMCS database management intro

Unfortunately WHMCS documentation does not give enough information about database management.

On WHMCS 7 (actually from previous versions already) they implemented they take advantage of Laravel framework’s database component. Read more

How to create custom API in WHMCS

In this article we’ll see how to create custom API in WHMCS. The reason I’m writing this is because the information you can find on the net are outdated, and since now we are at WHMCS, there is the need for an update.

WHMCS is a great piece of software. In certain cases though you just can’t do something. Their documentation is surely not helping since not everything is documented, and looking at the code to figure out how things work is not really an option thanks to the file encryption. Read more