I know WHMCS has made strives not long ago to do an update to the way it
handles domain name transfers. From what I see, what was added was a
new option called "Pending transfer" , creating of tasks for domain name
transfers and lastly a cron that updates expy dates, renewal dates on
However, I believe we are still 1/2 way there. There are few problems
that still loom when dealing with transfers that requires to much human
PROBLEM 1: Let's say the domain transfer finishes, WHMCS doesn't really
do anything else after it puts the domain in Pending transfer and after
it succeeds, we manually have to put it to active and change the expy
SOLUTION: What should be done is WHMCS should somehow check via cron all
Pending Transfers if they have succeed. If they have went through
fine, change status to Active, update expy dates and send a transfer
complete email to customer.
On the flip side, if the transfer fails, Create a new status that says
"Transfer Failed" and set a timer that after a domain is in pending
transfer longer than x days, goto Failed and send the client an email
saying the domain transfer failed.
I think this will help automate the transfer process to require less intervention.
Is this possible?
Thanks for your comments and votes. I'm pleased to advise this is possible with the domainsync.php script. If a domain transfer is successfully completed when the domainsync.php script runs, it will change the domain's status to Active automatically.
If the transfer fails, the eNom API returns enough information for us to be able to send the "Domain Transfer Failed" email template when the domainsync script runs. This will contain the reason for the transfer failure.
The status remains Pending Transfer at this time on the assumption that the client will want to try the transfer again. Should they decide not to go ahead with it, the status could be changed manually to Cancelled.