Jump to content

ENOM Domain Renewal Failure


Recommended Posts

Reporting this as a bug here and also via ticket, because it's existed so long it's about time this really got resolved :mad:

 

When using ENOM as a domain registrar, because of the time difference between the local installation of WHMCS and the ENOM servers, it is possible to encounter a situation where domain renewals fail because ENOM believes the domain has not yet expired and WHMCS is attempting to issue the UpdateExpiredDomain API command - which of course won't work on an active domain, hence the following error:

 

"This is an active domain, hence no need to renew it."

 

Typically this seems to happen when the domain is due to expire the same day it is trying to be renewed, and the WHMCS installation's date is ahead of ENOM's servers. For example, if installed on a server in the Europe/London timezone, it's possible the installation will be 8 hours AHEAD of ENOM, so though the customer may be trying to renew it on what seems like the day after, it's in fact not.

 

This one should be easy to fix, as WHMCS just needs to get the real-time status of the domain at the registrar (GetDomainInfo API call) to determine if the domain has actually expired before trying to renew it. If it's expired, use the UpdateExpiredDomain API call, if it has not, use the Extend API call.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated