[SOLVED] Get ENOM balance into WHMCS

I have been running WHMCS for a while now and have had to keep logging into ENOM to get my balance which is a hassle as I have two factor auth and security questions setup so takes me a minute to get through all of that.

Here is some php script you can put in a WHMCS widget to display your enom balance in your admin dashboard saving you some time.

We are using simplexml to parse the results.

Result will be something like this.

get-enom-balance-into-whmcs