wolvyreen Posted March 15, 2012 Share Posted March 15, 2012 Hi, I am now on a mission to write my own action hook to allow me to delete a domain from the registrar. I was hoping someone could explain to me why a DomainDelete function is not included in the API. The NOTES state the following: Source: http://docs.whmcs.com/Domains_Management#Deleting_a_Domain_from_a_Client Note: Deleting a domain from WHMCS will not perform any action at the domain registrar. I was hoping someone could help me out here with the development. Thanks Wolvy 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 15, 2012 Share Posted March 15, 2012 What are you trying to accomplish? Most registrars do not have a "Delete" functionality anyways. Even so, you would typically want to cancel/terminate the domain in WHMCS rather than deleting it. 0 Quote Link to comment Share on other sites More sharing options...
tripler Posted March 15, 2012 Share Posted March 15, 2012 You cant just delete a delegated domain... 0 Quote Link to comment Share on other sites More sharing options...
wolvyreen Posted March 15, 2012 Author Share Posted March 15, 2012 You cant just delete a delegated domain...My domain has a terminate/Delete option. I want to write an action hook that I can hook in to the registrar module to add a delete button to my domain profile page. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 15, 2012 Share Posted March 15, 2012 I would probably contact WHMCS directly and see if they can write a custom hook for you. 99% of registrar's do not have such an option to revoke a domain registration. 0 Quote Link to comment Share on other sites More sharing options...
wolvyreen Posted March 15, 2012 Author Share Posted March 15, 2012 I would probably contact WHMCS directly and see if they can write a custom hook for you. 99% of registrar's do not have such an option to revoke a domain registration.Well, what's the difference between cancelling a domain on your ENOM account and deleting a domain? Isn't it the same thing? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 15, 2012 Share Posted March 15, 2012 Well, what's the difference between cancelling a domain on your ENOM account and deleting a domain? Isn't it the same thing? I see no option in eNom to cancel a domain. let alone a function in the API. 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted March 15, 2012 Share Posted March 15, 2012 Hi, I am now on a mission to write my own action hook to allow me to delete a domain from the registrar. I was hoping someone could explain to me why a DomainDelete function is not included in the API. The NOTES state the following:I was hoping someone could help me out here with the development. Thanks Wolvy I am not aware of any major registrar that offers this functionality, whether it be on their control panel or API. You are wasting your time. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted March 17, 2012 Share Posted March 17, 2012 What _benefit_ are you expecting a domain deletion at the registrar/registry to provide you - we're a direct registrar for ~100 ccTLDs and all gTLDS and the number we'd ever want to *delete* at WHMCS (rather thank marking as cancelled/fraud/etc) is 4 in the last 12 months ... 0 Quote Link to comment Share on other sites More sharing options...
wolvyreen Posted March 19, 2012 Author Share Posted March 19, 2012 Ok, I don't think you understand what I'm saying. Sometimes a client signs up and registers a domain name. He might NEVER get his business and website off the ground and now the time comes for him to renew his account only for me to be told that he no longer wants the service. So I want to cancel the service with the domain registrar because the client can't be bothered about it any more. That's why I would want this feature. I don't think it's a stupid need. 0 Quote Link to comment Share on other sites More sharing options...
malfunction Posted March 19, 2012 Share Posted March 19, 2012 That's not deletion then, you just want to let it expire so take a look into the "Disable Auto Renew" checkbox that's on both the client and admin sides of WHMCS. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted March 20, 2012 Share Posted March 20, 2012 1. turn off auto-renew on the domain at the registrar 2. if the client wants to cancel the domain, they can do so by setting the "disable auto-invoice-for-renewal" in the client area 3. if the admin wants to cancel a domain, just change the status to cancelled 0 Quote Link to comment Share on other sites More sharing options...
wolvyreen Posted March 20, 2012 Author Share Posted March 20, 2012 Hi Guys, I really do appreciate all your comments but not all registrars are the same. my registrar in my country is stupid to say the least. They have a delete option. Thats why I need this. If the domain is just left to expire, noone else can register the domain again for something like 6months. I know....dumb! That's why I need the delete function. Is there no way I can create my own delete function and hook it in? 0 Quote Link to comment Share on other sites More sharing options...
benFF Posted March 20, 2012 Share Posted March 20, 2012 eNom does. If you delete within 5 days of registration you get a refund. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 20, 2012 Share Posted March 20, 2012 eNom does. If you delete within 5 days of registration you get a refund. Thats through their support portal. There is no API function for it. 0 Quote Link to comment Share on other sites More sharing options...
wolvyreen Posted March 20, 2012 Author Share Posted March 20, 2012 Well, my registrar has an email bot that receives an email request that can be issued to DELETE a domain. So, again, now that we have gone all the way around this bush, can someone help me figure out how to build a hook to add in to the current WHMCS admin console to add a delete button on the Domain Profile page like the Create, Transfer and Renew? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 20, 2012 Share Posted March 20, 2012 See what I said before: http://forum.whmcs.com/showpost.php?p=217430&postcount=5 0 Quote Link to comment Share on other sites More sharing options...
benFF Posted March 20, 2012 Share Posted March 20, 2012 Thats through their support portal. There is no API function for it. Sure there is, the function is called "DeleteRegistration" 0 Quote Link to comment Share on other sites More sharing options...
wolvyreen Posted March 25, 2012 Author Share Posted March 25, 2012 Sure there is, the function is called "DeleteRegistration" Then again I ask, why not just include a delete function? sheesh... 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 25, 2012 Share Posted March 25, 2012 Then again I ask, why not just include a delete function? sheesh... If you email them, they can build you a custom hook (for a price). Thats probably going to be your best bet. I doubt there will be enough interest in such a feature to warrant an update to the core code base. 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.