Jump to content

[Enom Module] Dynamically Get Domain Prices & Allow Markup


xxxxx

Recommended Posts

I think it would be great for the Enom Module to be able to get a list of supported domain prices (via the Enom API?) and allow an admin to be able to set a percentage or set profit on top of the base price rather than manually setting a fixed figure. This would allow us to be dynamically competitive without having to manually watch the domain prices.

Link to comment
Share on other sites

As mrrsm advised, there does seem to be the ability to pull prices down via the Enom API.

 

Search for "PE_GetProductPrice" here. There are also various other pricing API calls which come up:

http://www.enom.com/APICommandCatalog/index.htm

 

This would be an awesome feature.

 

------------------- Example ---------------------------

 

The following query retrieves the price for registering a .com domain, and sends the response inXML format:
 

Query
 
https://resellertest.enom.com/interface.asp?command=PE_GETPRODUCTPRICE&
uid=resellid&pw=resellpw&ProductType=10&tld=com&responsetype=xml

In the response, a price and an enabled status for the product confirm that the query was successful:
 

Output
<?xml version="1.0" ?>
<interface-response>
<productprice>
<price>8.95</price>
<productenabled>True</productenabled>
</productprice>
<Command>PE_GETPRODUCTPRICE</Command>
<Language>en</Language>
<ErrCount>0</ErrCount>
<ResponseCount>0</ResponseCount>
<MinPeriod>1</MinPeriod>
<MaxPeriod>10</MaxPeriod>
<Server>RESELLERTEST</Server>
<Site>enom</Site>
<IsLockable>True</IsLockable>
<IsRealTimeTLD>True</IsRealTimeTLD>
<TimeDifference>+03.00</TimeDifference>
<ExecTime>0.1015625</ExecTime>
<Done>true</Done>
<debug>
<![CDATA[ ] ]>
</debug>
</interface-response>
Link to comment
Share on other sites

  • 2 weeks later...
  • 5 months later...

If anyone else is interested please +1. This would allow us to be dynamically competitive on domain pricing with no effort.

the request is not a easy task , is true that already a fucntion exist to retrieve prices . the probleme is the updating prices . because it need a cronjob to update a package for domains , and as we know the package is not identified with the domain extention .(com/.org/.net...) so maybe it need a plugin helper to do this .

but i assume this will be a easy task when the new domain plugin is release , because it will be the domain extention used as the identifier package (i assume this because others has the same logic ) .

Link to comment
Share on other sites

  • 2 months later...
  • 4 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.

Loading...
×
×
  • Create New...