oscommerce shipping module

In Progress

I need someone to create an oscommerce shipping module for [url removed, login to view] 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:

[url removed, login to view]

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.

[url removed, login to view][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=[url removed, login to view]

The following piece of code is a simple example of how to access our Calculator API using PHP.

<?

$calculator_url = "[url removed, login to view]";

/* 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: PHP, Software Architecture

See more: oscommerce shipping module url, www java programming com, www c programming language com, work sydney, work in brisbane, work brisbane, web page price calculator, web api 2 shopping cart, time in sydney, time in brisbane, time brisbane, sydney work, sydney au, string processing in c, quote architecture, programming module, processing programming language, php fusion shopping cart, php fusion module, perform line, module programming, module in architecture, module calculator, module architecture, java language for create a website

About the Employer:
( 28 reviews ) Gold Coast, Australia

Project ID: #771711

Awarded to:

AlinGhinoiu

Hello ! Please check my offer through the PMB section. Thank you !

$200 USD in 4 days
(110 Reviews)
7.0

3 freelancers are bidding on average $250 for this job

toinnisfree

pls chk pmb

$250 USD in 4 days
(591 Reviews)
8.0
expertMan

ready for your work

$300 USD in 15 days
(42 Reviews)
6.3