oscommerce shipping module

IN PROGRESS
Bids
3
Avg Bid (USD)
$250
Project Budget (USD)
$30 - $250

Project Description:
I need someone to create an oscommerce shipping module for http://e-go.com.au using their api that I can use in my oscommece shopping cart.
I would like the customer to be able to work out the shipping information from the item description page and have the postage calculated when the customer checks out.

Below is the api info from the e-go web site....

If you have a merchant website and want to offer on-line quote of delivery charges to your customers, you can use our Calculator API.

Our API can be accessed by any programming language that can perform HTTP requests such as PHP, Cold Fusion, Java and many others.

INPUT: The input consists of a URL pointing to our Calculator API. An example is:

http://www.e-go.com.au/calculatorAPI?pickup=2000&delivery=4000&width=40&height=35&depth=65&weight=2&items=3

If you want a quote for multiple goods, you can specify an array of values for the fields: weight, items, width, height and depth. The following is an example for multiple goods.

http://www.e-go.com.au/calculatorAPI?pickup=2000&delivery=4000&width[0]=40&height[0]=35&depth[0]=65&
weight[0]=2&items[0]=2&width[1]=50&height[1]=45&depth[1]=25&weight[1]=3&items[1]=3

In order to prevent the URL from becoming too long, the array of fields can also be specified using HTTP POST requests.

The following table summarizes the data you must pass to our API in order to get a quote.

pickup The postcode to pick the goods from
delivery The postcode to deliver the goods to
height Height in centimetres
width Width in centimetres
depth Depth in centimetres
weight Weight in kilograms
items Number of items you want a quote for.
OUTPUT: The API will output the fields below:

error If any error occurs while processing your request, this field will contain an error message. Otherwise, 'OK' will be returned.
eta It's a string containing the Estimated Time of Arrival
price The price charged to deliver the goods. GST is already included.
Note that in the output, fields will be line-separated (character '\n') and each line will contain a field name and respective value separated by '='. See example below.

error=OK
eta=Overnight
price=14.52
The following piece of code is a simple example of how to access our Calculator API using PHP.

<?
$calculator_url = "http://www.e-go.com.au/calculatorAPI";

/* from/to postcodes */
$pickup = 2000; //From Sydney
$delivery = 4000; //From Brisbane

/* Dimensions */
$width = 40;
$height = 35;
$depth = 65;
$weight = 2;

$ego_params = "?pickup=$pickup&delivery=$delivery";
$ego_params .= "&width=$width";
$ego_params .= "&height=$height&depth=$depth&weight=$weight";
$ego_quote = file($calculator_url . $ego_params);

foreach ($ego_quote as $num=>$quote) {
$quote = trim($quote);
$quote_field = explode("=", $quote);
print "Field=" . $quote_field[0] . "\tValue=" . $quote_field[1] . "\n";
}
?>

Skills required:
PHP, Software Architecture
Hire burnsey71
Project posted by:
burnsey71 Australia
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.