PDA

View Full Version : Adding ResellOne.Net as a Registrar Module



tomyknoker
01-26-07, 08:43 AM
I am trying to create a Registrar Module for ResellOne.Net, has anyone done this yet? If not I have some questions about the docs on how to do it... Any one help me out?? :?

MACscr
01-26-07, 09:38 AM
1) Do you have php programming experience?
2) Ask the questions that you have as just asking asking if there is anyone around that can help you is completely worthless. Wont get you anywhere. So ask away.

tomyknoker
01-26-07, 09:42 AM
Sorry agree, just wanted to make sure people floated around these forums... Yea I have PHP experience, but having trouble with the instructions... So this is where I am up to:

1) Created a folder "resellone"
2) Created a php file called resellone.php which contains this:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Untitled Document</title>
</head>

<body>
</body>
</html>

3) So far is this correct?

Matt
01-26-07, 10:25 AM
No, that's not correct. There shouldn't be any HTML in that file. You need to follow the function definitions as explained in the manual.

Matt

tomyknoker
01-26-07, 12:25 PM
Ok well I assumed a blank php file still had to have the w3c standards... I got the getConfigArray to work, do I just add the other Reg... after the first lot of code? Or do they go into separate files?

Matt
01-26-07, 12:32 PM
Yep, all in the same file.

tomyknoker
01-26-07, 12:38 PM
Ok cool... In "RegGet CurrentNameservers" I notice the function has ##### Registrar Code Goes Here" do I need to add anything to that line? Will I have to do anything on the Registrar side of things? They have an OpenSRS Script/API Access were I can add IP addresses to allow access, would I add the IP in which I am running WHMCS? The next Reg is the RegTransferDomain but has no function, what part of this page do I add?

Matt
01-26-07, 01:12 PM
Hi,

For each of the functions, you need to code it to send the rquest to the registrar (in this case OpenSRS), get the response, interpret the response and then return the required variables to WHMCS or return an error message if it fails. The documentation for creating a registrar module explains what data should be returned by each function. You will obviously need programming and PHP experience in order to complete this.

Matt

generic
01-26-07, 08:10 PM
would be a nice module, especially if someone can get the ssl cert resale ability over there too bult in, its only $10 rapidssl cert (same cert the planet sells for $14.95)

tomyknoker
01-28-07, 07:47 AM
They quick becoming a very popular registrar those $10 cert's are great... I wonder if a module can be developed :lol:

Matt
01-28-07, 01:42 PM
The domain registrar system does not currently support SSL certificates. It is planned that there will be support for automated SSL certificate provisioning with WHMCS in the next few months.