yggdrasil Posted April 10, 2019 Share Posted April 10, 2019 (edited) Has someone noticed that WHMCS allows someone to renew a domain for 10 years but it then fails on the registrars API saying a domain cannot be over 10 years in period? It seems WHMCS takes the current year into account when it tries a renewal or is miscalculating the dates because if a domain expires for example in 2 months from now, WHMCS lets the person renew for 10 years, but the registrars fails because that would be 10 years and 2 months. I see this happening with more than one registrar. WHMCS should only allow for a 9 year renewal if the domain is still not expired and the customer is renewing before the expiration date. Edited April 10, 2019 by yggdrasil 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted April 10, 2019 Share Posted April 10, 2019 I have seen that in the past and just changed the years offered to be less. 0 Quote Link to comment Share on other sites More sharing options...
Evolve Web Hosting Posted April 10, 2019 Share Posted April 10, 2019 That's a good 'bug' to bring up. I would think they could address this through the API calls. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted April 10, 2019 Share Posted April 10, 2019 The key is that you should disable "10 years" option (or even less) for the TLDs/Registrars that work in very particular ways. I do understand that WHMCS should provide a fallback but that's how it works. Frankly some Registrar are simply crazy! 0 Quote Link to comment Share on other sites More sharing options...
yggdrasil Posted April 10, 2019 Author Share Posted April 10, 2019 (edited) 1 hour ago, Kian said: The key is that you should disable "10 years" option (or even less) for the TLDs/Registrars that work in very particular ways. I do understand that WHMCS should provide a fallback but that's how it works. Frankly some Registrar are simply crazy! Why would I do this? If a domain is expired, its perfectly valid to renew for the maximum amount of time, that is 10 years. This happens when a person renews a domain before the expiration date, that means for most TLD's its less than -10 years already. WHMCS makes no difference since it does not take into account the existing expiration date but the API on registrars correctly do. This has nothing to do with registrars. If a TLD only allows for a maximum of 10 years, there is nothing you can do. The API from the registrars in that case is correctly giving the error that you cannot renew a domain over 10 years. Edited April 10, 2019 by yggdrasil 0 Quote Link to comment Share on other sites More sharing options...
yggdrasil Posted April 10, 2019 Author Share Posted April 10, 2019 (edited) 1 hour ago, steven99 said: I have seen that in the past and just changed the years offered to be less. But renewing for 10 years if perfectly valid and will work fine if the person is renewing the same day it expires, its on auto renewal or its renewed when it already expired. You are now losing a year because of the bug. The bug is when users do a manual renew and there is still some time left on the domain. (not a full year). Edited April 10, 2019 by yggdrasil 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.