Jump to content

ENOM Domain Reseller Price Grabber


xtmhost

Recommended Posts

This is not a direct integration with WHMCS so please remove/advise if it's not allowed here.

 

I given the lovely task of setting domain pricing in ENOM and then adding them to WHMCS.. I found the process slow and annoying and couldn't really find any quicker ways to do it without spending $30+ on an addon so I have decided to write my own.. now I am sharing it here for free.

 

github.com/Goodbytesuk/enom-domain-reseller-price-grabber

 

This script will connect to your WHMCS database, grab the TLDS you have added to the 'Domain Pricing' section in WHMCS Settings, it will then grab the domain pricing set in ENOM.. ONLY for the domains it has found in Domain Pricing.

 

It is important to note that this will delete ALL pricing already set and reset prices based on what is pulled from ENOM.

 

I should also note this does not pull in all domains, it only pulls in domains already added in 'Domain Pricing'.. It is very quick to add TLDs in WHMCS.. just don't bother with the pricing.. the script does the rest. This was a better workflow for me than having the script add all domains for me, something i've seen older scripts do.

 

Hopefully it is helpful to some of you. Full instructions on the github page.

Link to comment
Share on other sites

you may improve this query:

$stmtDelete = $db->prepare("DELETE FROM `tblpricing` WHERE `type` IN ('domainregister', 'domainrenew', 'domaintransfer')");

 

if you are sure about deleting exist records, at least delete the tlds linked to enom

 

Sorry I am not following, how can it be improved?

Link to comment
Share on other sites

  • 2 months later...

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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