JamesC
10-01-2006, 07:35 AM
Ok I have been asked from a few forum members how I managed to get the OpenSRS to work, so I thought I would but together a little How-To on the steps it took me.
Ok there has been some issues finding the OpenSRS files so here is a working link as of 08/05/07 OpenSRS 2.9.9 (http://resellers.tucows.com/current/) Down load it here.
You can find documentation here http://documentation.tucows.com/opensrs_rcl.pdf
Log into your Resller account and set up your access for the API and your Private Key
1. At the bottom of the page look for, Add IPs for Script/API Access (add your web server and/or your ordering site IP) and Generate New Private Key (copy this down because you will need it later).
2. Next be sure the ports are open on your server that will be used by the scripts. These are port numbers 52000, 52044, and 52443.
Ok now that we have set up the ports and gave access to your ReSeller One account to your Scripts by adding the IP’s that will be used we can start editing the config files for OpenSRS
There is a config file for each of the services that will be edited to suite your needs but I will only cover the one for the main config (OpenSRS Config) here the rest of the scripts will use these settings to access the RWI2 and you should be able to figure those out and make adjustments to suite your needs.
3.Change the user name, Private Key and admin email address
my $USERNAME = "(your user name)"; # XXX insert username here
my $PRIVATE_KEY = "(your private key)"; # XXX insert DES key here
$ADMIN_EMAIL = 'your_address@your_domain.com';
$RENEW_EMAIL = 'your_address_for_renewal_messages@your_domain.com';
4. Test server should be set to 0
$TEST_SERVER = 0;
5. Change the source path to where your config and other files are located.
$PATH_SOURCE = "<path_to_source>"; # e.g., "/home/username/opensrs"
6. Now we need to change the port numbers and server address using these settings should work.
REMOTE_PORT => 52000,
REMOTE_HOST => "resellers.resellone.net",
REMOTE_HTTPS_PORT => 52443,
# OSRS IDN conversion server connection settings
REMOTE_IDN_HOST => 'resellers.resellone.net',
REMOTE_IDN_PORT => 52044,
Ok up load the files make sure the .cgi files are in the cgi-bin and the rest of the files are in the path you used above in the config file for step 5
Ok there you go now do some testing make sure that you have set your RWI2Order Preferences settings to No so you can test the scripts with out ordering any services, make any adjustments to the files for your services needs.
Good luck and I hope this helps.
JamesC
Ok there has been some issues finding the OpenSRS files so here is a working link as of 08/05/07 OpenSRS 2.9.9 (http://resellers.tucows.com/current/) Down load it here.
You can find documentation here http://documentation.tucows.com/opensrs_rcl.pdf
Log into your Resller account and set up your access for the API and your Private Key
1. At the bottom of the page look for, Add IPs for Script/API Access (add your web server and/or your ordering site IP) and Generate New Private Key (copy this down because you will need it later).
2. Next be sure the ports are open on your server that will be used by the scripts. These are port numbers 52000, 52044, and 52443.
Ok now that we have set up the ports and gave access to your ReSeller One account to your Scripts by adding the IP’s that will be used we can start editing the config files for OpenSRS
There is a config file for each of the services that will be edited to suite your needs but I will only cover the one for the main config (OpenSRS Config) here the rest of the scripts will use these settings to access the RWI2 and you should be able to figure those out and make adjustments to suite your needs.
3.Change the user name, Private Key and admin email address
my $USERNAME = "(your user name)"; # XXX insert username here
my $PRIVATE_KEY = "(your private key)"; # XXX insert DES key here
$ADMIN_EMAIL = 'your_address@your_domain.com';
$RENEW_EMAIL = 'your_address_for_renewal_messages@your_domain.com';
4. Test server should be set to 0
$TEST_SERVER = 0;
5. Change the source path to where your config and other files are located.
$PATH_SOURCE = "<path_to_source>"; # e.g., "/home/username/opensrs"
6. Now we need to change the port numbers and server address using these settings should work.
REMOTE_PORT => 52000,
REMOTE_HOST => "resellers.resellone.net",
REMOTE_HTTPS_PORT => 52443,
# OSRS IDN conversion server connection settings
REMOTE_IDN_HOST => 'resellers.resellone.net',
REMOTE_IDN_PORT => 52044,
Ok up load the files make sure the .cgi files are in the cgi-bin and the rest of the files are in the path you used above in the config file for step 5
Ok there you go now do some testing make sure that you have set your RWI2Order Preferences settings to No so you can test the scripts with out ordering any services, make any adjustments to the files for your services needs.
Good luck and I hope this helps.
JamesC