Jump to content
Sign in to follow this  
coolchrisaus

Australia Post module

Recommended Posts

I too am having the same problem, it appears that *everything* starts at 3KGs and continues on from there (i.e. if I have a 4KG product, the postage is calculated for 7KG). Any ideas people?

 

Hi,

 

Just wondering if you had any luck with the austpost mod,

 

Im also getting strange figures $5.82, and when I do a check on the austpost website i get different prices.

 

Also do you know if it possible to offer satchels such as 500g and 3kg

 

Richard

Share this post


Link to post
Share on other sites
I too am having the same problem, it appears that *everything* starts at 3KGs and continues on from there (i.e. if I have a 4KG product, the postage is calculated for 7KG). Any ideas people?

 

Hey folks - I had a similar problem, which I traced to the "Tare weight". Check in osCommerce configuration, under "Shipping / Packaging". If you have a Tare weight defined, this weight is the weightof the packaging, and is added to the weight of your product. Setting this to zero fixed my issue.

 

Cheers

Perry

Share this post


Link to post
Share on other sites
Hey folks - I had a similar problem, which I traced to the "Tare weight".  Check in osCommerce configuration, under "Shipping / Packaging". If you have a Tare weight defined, this weight is the weightof the packaging, and is added to the weight of your product.  Setting this to zero fixed my issue.

 

Cheers

Perry

Hi

 

done everything mentioned to date but keep getting this error

 

Warning: file(): URL file-access is disabled in the server configuration in /home/httpd/vhosts/telepoint.biz/httpdocs/shop/includes/modules/shipping/auspost.php on line 68

 

Warning: file(http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=2441&Destination_Postcode=2441&Country=AU&Weight=10&Service_Type=STANDARD&Height=100&Width=100&Length=100&Quantity=1): failed to open stream: no suitable wrapper could be found in /home/httpd/vhosts/telepoint.biz/httpdocs/shop/includes/modules/shipping/auspost.php on line 68

 

Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/telepoint.biz/httpdocs/shop/includes/modules/shipping/auspost.php on line 69

 

does this postal method actually query the file http://drc.edeliver.com.au/ratecalc.asp? remotely ?

 

thanks

 

Geoff


Geoff

 

Telegraph Point 2441

Australia

Share this post


Link to post
Share on other sites
Hi

 

done everything mentioned to date but keep getting this error

 

Warning: file(): URL file-access is disabled in the server configuration in /home/httpd/vhosts/telepoint.biz/httpdocs/shop/includes/modules/shipping/auspost.php on line 68

 

Warning: file(http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=2441&Destination_Postcode=2441&Country=AU&Weight=10&Service_Type=STANDARD&Height=100&Width=100&Length=100&Quantity=1): failed to open stream: no suitable wrapper could be found in /home/httpd/vhosts/telepoint.biz/httpdocs/shop/includes/modules/shipping/auspost.php on line 68

 

Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/telepoint.biz/httpdocs/shop/includes/modules/shipping/auspost.php on line 69

 

does this postal method actually query the file http://drc.edeliver.com.au/ratecalc.asp? remotely ?

 

thanks

 

Geoff

 

Yes the script contacts the DRC remotely. The error your getitng is probably because your server isnt allowing it to connect.

Share this post


Link to post
Share on other sites

Thanks Steve

 

host had problems with external file access and safemode off. Basically their security concerns over rode my ambitions here.

 

Geoff


Geoff

 

Telegraph Point 2441

Australia

Share this post


Link to post
Share on other sites

I am looking for a more flexible approach to AustPost and the DRC.

 

I would like to be able to add the dimensions of each product in admin and send those dimensions along with the weight to the DRC instead of the standard 100x100x100 as set in admin because my products are all different sizes and weights.

 

Is this possible?

 

I have set up the data entry text boxes for length, width and height in admin and added the fields to the database but I am unsure where to look for the code that collects the information from the database to send to the DRC.

 

Could anyone tell me which php file gathers this information together to send to the AUSTPOST module so I can try to add the lenght, width and height?

 

I am almost certain it will not be as simple as I have described - it never can be so easy, but a pointer in the right direction would be a great help.

 

James

Share this post


Link to post
Share on other sites

I have added a few different contrib to try to get the actual weight/volume of the parcels that I ship to be calculated. None seem to interwork with this module. I need local/state/australia/world.

 

The dimensions in admin can be changed to whatever you like, but my guess is that they are set up as the shipping boxes that you use (eg Aust Post mailing box BM dimensions 310mm x 225mm x 102mm, which gives a cubic weight of 2kg). Am I right?

 

The php files that contain the info that you want to change are in catalog\includes\modules\shipping and the files are auspostair.php ausposteconomy.php auspostexpress.php auspostsea.php Look in each of these files at the lines just after function install() {

 

I would prefer if the actual weight/volume of each product was added up in the order and that weight/volume was used to calculate shipping costs via the DRC.

 

 

Is this possible?


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites

I have managed to get the auspostair.php ausposteconomy.php & auspostsea.php files in catalog\includes\modules\shipping to sort of work only for international customers by changing the line that says something along the lines of

$url = "http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=$frompcode&Destination_Postcode=$topcode&Country=$dest_country&Weight=$sweight&Service_Type=ECONOMY&Height=$sheight&Width=$swidth&Length=$slength&Quantity=$shipping_num_boxes";'>http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=$frompcode&Destination_Postcode=$topcode&Country=$dest_country&Weight=$sweight&Service_Type=ECONOMY&Height=$sheight&Width=$swidth&Length=$slength&Quantity=$shipping_num_boxes";

to

$url = "http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=$frompcode&Country=$dest_country&Weight=$sweight&Service_Type=ECONOMY&Height=$sheight&Width=$swidth&Length=$slength&Quantity=$shipping_num_boxes";'>http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=$frompcode&Country=$dest_country&Weight=$sweight&Service_Type=ECONOMY&Height=$sheight&Width=$swidth&Length=$slength&Quantity=$shipping_num_boxes";

ie by deleting &Destination_Postcode=$topcode at around line 68 in each file. Do not copy and paste, just delete the offending text, otherwise type may be incorrect.

 

The Australia Post calculator at "http://drc.edeliver.com.au/ratecalc.asp? does not need the post code for international destinations.

 

This means that auspost.php & auspostexpress.php are only used for within Australia, and the others are used for the Rest of the World.

 

If you use the add-weight-to-product-attributes v0.2 contrib, and put the weights in via catalog/product attributes in Admin, then do not use the weights in catalog/categories products in Admin. The weights will just be doubled if you do and you will get vastly wrong calculations.

 

Now, does any one know how the AustPost module can get the package tare weight from configuration/shipping/packaging in Admin to be included in the total weight? This is now stopping me from having accurate shipping costs.

 

I have added the Dimensional Weight Contrib v 1.0 but this seems to be pretty useless to me (but I may yet change my mind).

 

Since my products are not fragile, I have decided to ship my products within the Australia Post product GC "Expandable Tough Bags" weight 79 g, dimensions 370x405x75mm. This is what I have specified within the AustPost modules and seem to work ok.

 

I also use zones and table rates as a comparision for my customers to use when working out their preferred shipping method.


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites
Hi

 

 

Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/telepoint.biz/httpdocs/shop/includes/modules/shipping/auspost.php on line 69

 

does this postal method actually query the file http://drc.edeliver.com.au/ratecalc.asp? remotely ?

 

 

Geoff

 

Don't suppose anyone has come up with a table rate to cover the options in auspost ? Host will not allow remote file access for security reasons and I would like to use this module rather then a mix of table rates - far more accurate

 

Geoff


Geoff

 

Telegraph Point 2441

Australia

Share this post


Link to post
Share on other sites

Maybe zonesworld_v2 mod for extra zone table or change host.


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites

The new version of the module will include a mod system for cubic weights and various auspost options such as express post satchels etc

 

as for the current module there is no need to remove the post codes from the international modules as the drc will accept them.

 

as for a host not allowing external file access etc...change hosts.

 

I run and admin numerous stores across a lot of servers both in the US and here in Oz and i can assure you external file calls are not a security risk.

 

I havent read right up yet either but as far as im currently aware the current module will not work under PHP5 and there may be an issue under 4.3.10 so im re-coding the module as fast as i can.

Share this post


Link to post
Share on other sites
The new version of the module will include a mod system for cubic weights and various auspost options such as express post satchels etc

 

as for the current module there is no need to remove the post codes from the international modules as the drc will accept them.

 

as for a host not allowing external file access etc...change hosts.

 

I run and admin numerous stores across a lot of servers both in the US and here in Oz and i can assure you external file calls are not a security risk.

 

I havent read right up yet either but as far as im currently aware the current module will not work under PHP5 and there may be an issue under 4.3.10 so im re-coding the module as fast as i can.

Hi Steve

 

When I did a test using SE22 9PQ (as one of my customers put into their address) as the post code, the call to the drc was rejected. I am also under the impression that the drc wants only 4 digits for the postcode.

 

It looks like a lot of modules will not work under PHP5, and I have set my cuurent osc shop to be on a subdomain (my web host lets me create and delete subdomains at will) and when PHP5 is up and running, I will be setting up a new shop on a new subdomain and starting again from scratch.

 

I look forward to the new modules, and hope that they work as well as the ones that I have installed.

 

If anyone in Australia wants to know who my hosting company is, just look at the links page in my web site.


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites
The new version of the module will include a mod system for cubic weights and various auspost options such as express post satchels etc

 

 

 

Hi Steve

 

I am trying to setup express post options at the moment using tables in conjunction with the auspost contrib (after finally getting external file access configured). I don't suppose the update is finsihed as a combined contrib would be great.

 

As to the tables I am trying to turn an option off using this

 

$this->enabled = ((MODULE_SHIPPING_TABLE_STATUS == 'True') ? true : false);

 

if ( ($this->enabled == true) && ($shipping_weight->info['total'] >= 3) ) {

$this->enabled = false;

}

 

in the shipping/table.php on line 26 but it does not appear to want to make the module "disappear" when the weight is greater then specified - any ideas ?

 

thanks

 

Geoff


Geoff

 

Telegraph Point 2441

Australia

Share this post


Link to post
Share on other sites

Hi

 

I installed this module and I have problems:

 

1. International

 

Calculates really odd/high amounts. I think I might need to add the code mentioned above?

 

2. Domestic

 

The amounts here seem odd too. Are the costs supposed to come up with the same costs as the AustPost calculator does? If so mine don't. I am thinking it adds GST - is that right? If so then GST is getting added twice to shipping there and at the end.

 

I really have no idea what it is calculating - GST was just a guess.

 

3. 100 * 100 * 100

 

Am I right in understanding what you are all saying and that these have no impact on the calculation?

 

My client cannot go live until I get this working. It is very worrying.

 

Bottom line, is this supposed to work?

 

Very confused about what to do. Can anyone help?

 

Kym


Kym

Projects Director @ ozEworks.com

Share this post


Link to post
Share on other sites

make sure you dont have any amounts in yout stores shipping configuration area in the shipping tare weight or in the larger packages settings.

 

ensure you have gst enabled as a tax thru the store and have it applied as a tax zone to the module and you should be ok

 

also make sure that AUD is your default currency

Share this post


Link to post
Share on other sites

 

 

In admin : configuration : shipping / package

 

try setting package tare weight and larger package % set to zero

 

In admin : configuration : shipping / package

 

make sure the max package size is 20 (oz post largest size mail)

 

IN the auspost module you are using make sure that you set the appropriate GST rate if you are getting a 10% increase on the actual auspost figues being given by OSc

 

With admin : modules : shipping :auspost make sure that the insurance option is appropriate if you want to offer that.

 

Check the weights of the products you are offering and make sure they are in kg Auspost module returns some interesting figures if the total purchase is over 20kg

 

Most of these are also discussed elsewhere, do a search though the forum, you may have to look a bit but it is there

 

Geoff


Geoff

 

Telegraph Point 2441

Australia

Share this post


Link to post
Share on other sites

Done all that and it makes no difference.

 

I have an order that weight 0.12 kg. Tare weight is zero. Max package is 20.

 

Shipping from 4055 to USA gets 15.27

 

Change to 4055 to 4061 and get 5.91.

 

These prices seem odd to me.

 

:blush:


Kym

Projects Director @ ozEworks.com

Share this post


Link to post
Share on other sites

anyone want to try to fix this for me? for $?


Kym

Projects Director @ ozEworks.com

Share this post


Link to post
Share on other sites

Greetings all,

 

I'm just doing some testing/research on the Austpost Module and come accross a few issues that I'm unable to find any help for.

 

I'm having a problem with the weight calcuations, as items that only weigh 0.1kg are calcualted at say $8.00 via Parcel Post, when I add a product that weighs say 3kg and brings the total weight to 3.1kg, the cost estimate drops to like $6.91! These are exact figures, but explain the general idea. And, I can't seem to explain it. But, it's not a huge problem.

 

 

What my main reason for posting is if the Auspost module could also utilise product dimensions when calcualting postage as well, because Australia Post have dimension limits of 100cm length and 140cm girth, along with the weight limit of 20kg max.

 

Ultimately, when adding/updating a product in the catalogue you would use the products true weight and the length, width and height. From here, if the cubic weight is greater, then it uses that weight when estimating postage and also limits the postage options if it exceeds the dimensions allowed.

 

I noticed their is a module that calculates cubic weight, etc, but is not integrated with the shipping module and I'm not smart enough to know how to do it! Plus, it appears this has been done for a Canada Post Module with Dimensions (http://www.oscommerce.com/community/contributions,1201/category,2/search,dimension), and hoping somebody knows how to change/integrate for Austpost?

 

One last thing, it would be nice if Registered Post was actually a seperate option rather than insurance on Parcel Post. But that's for another day.

 

Anyway, that's about it. I'm wondering if anyone else from Australia has any similar issues or suggestions for the Austpost module, or how you have worked around these issues. Please email me if you would prefer: jeffrey.hoogkamer@limeandsoda.com.au

 

Cheers.

Jeff.

Share this post


Link to post
Share on other sites

I am new in oscommerce. I want to install AusPost module but I don't know how to put the 2 sql files into my shop. Anyone can teach me?

Share this post


Link to post
Share on other sites
I am new in oscommerce. I want to install AusPost module but I don't know how to put the 2 sql files into my shop. Anyone can teach me?

 

Get you FTP program eg. FlashFXP and upload the includes folder to the directory your shop is installed in. (your shops root folder) usually called "catalog"

 

After that, browse to your shop/admin section and go to modules>shipping and install the AustPost you need.

 

Now im after some help,

 

I have hundred of parts to add but really dont want to weigh them all or even edit the parts i have already added to the shop. Is it posible for this AustPost to be able to caculate by price?

 

Or should i just stick to using the AusFlate Rate Contrib?

Only problem with that is, some really small parts are heavy and im affraid that i will charge too little for shipping and will lose money.

 

Any suggestions?

 

Please dont answer - weigh parts.. i know that but to painfull.

 

Thanks

SUB

Share this post


Link to post
Share on other sites

The only way to be accurate is to weigh the parts and your packaging. How elese can it be done when your parts are small and heavy? No pain, no gain.

 

To install sql files, you need to use something like phpMyAdmin (depends on your hosting setup). Your hosting company should be able to advise you.


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites

Calling all braniacs,

 

Could someone please help me to sort this problem with the Auspost install..

 

I am using a CRE loaded 6.15 template from algozone...

 

When I go to the 'Modules/Shipping' page via the admin interface I am getting this error :

Fatal error: Cannot redeclare class auspost in /var/www/html/osc6/includes/modules/shipping/auspost-old.php on line 14 :(

 

And the table listing the modules that usually appears on that screen has gone - I just get the grey bar with 'modules' sort order' & 'action' that usually goes above the table of modules... the rest of the page is blank.

 

Unfortunately I was in the middle of trying to install this contrib when I had emergency surgery and now 6 weeks later I cannot remember what I did, and the backup of the site is corrupted so I can't re- upload it!! I know I can hear you all say you should've checked it, and you are right, but I didn't and now I am in a pickle - can someone please, please help??

 

I thought I would try a re-install but have forgotten how to put the sql file that comes with the contrib into my database via phpMyAdmin - I can get into phpMyAdmin ok but cannot remember the steps I have to take from there -so if someone would be kind enough to explain i would really appreciate it very much

 

My ISP will not help me with it I have already asked...

 

Thanks in advance.. :)

Edited by murray_simon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×