Jump to content

Developing OVH module


Eduardo G.

Recommended Posts

Hi all, I'm creating an OVH registrar module for WHMCS.

I have some doubts about ovh's SOAPI, maye some of you can help:

If I run this soap call:

$soap->resellerDomainCreate($session, "example.com", "none", "gold", "whiteLabel", "no", "xx99999-ovh", "xx99999-ovh", "xx99999-ovh", "xx99999-ovh", "ns1.example.net", "ns2.example.net", "", "", "", "", "", "", "", "", "", "", "", true);

It works perfectly, and creates a new domain register order at OVH.

However, there seems to be some lag between order and execution, so in just a few seconds I receive an email from OVH telling me that the domain is already registered, or maybe I have no funds in my account.

The problem is that when I submit the order as it has no exeption errors, whmcs thinks domain has been registered, but the domain might not be, for several reasons.

 

This makes impossible for me to register a domain, as I can't get confirmation (or negation) in real time.

Is there something I'm doing wrong? Has anyone faced this situation?

 

BTW, I already have register, transfer, renewal getnameservers, setnameservers, getregistrarlock and setregistrarlock functions working :-)

Link to comment
Share on other sites

  • 2 weeks later...

OVH API sucks, it's unable to let you know, in real time, if a domain has been registered, transfered or renewed.

It only cares about your request, but not about the action made.

In other words, you don't register a domain with OVH's API, you make a request for a domain registration, and API confirms your request is valid.

Later, you receive an email telling you the result of your request.

I coudn't belive that ws the real way it was working, so I asked and they answered I was right, and I could develope an email parser to catch those domains and update status in my WHMCS

 

After that email, I stopped development, as this module won't be valid as API is not working properly. This is one of the worst apis I've seen for this :-S

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.

  • 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