Domain registration is already automatic via Enom. http://docs.whmcs.com/Enom