The request to the Australia Post server failed...

  • Posts: 64
  • Thank you received: 3
10 years 1 month ago #207850

-- HikaShop version -- : 5.2.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.4.30

Hi I am having trouble with the Australian Post Plugin.

Aust Post has a limit of 22kg (this is for one item), if something is sold that is 5kg and there is 10 of them then naturally it gets split up into separate packages. This all works fine when it is one item, for some reason if you have two items that exceed the 22kg even though they can be shipped separately it gets the following error message.

The request to the Australia Post server failed with the message: The maximum weight of a parcel is 22 kg

You can try it by adding this in a quantity of 5 (this product has the weight of 5kg for 1 item)...
thisone.catnets.com.au/index.php?option=...1m-x-1-8m&Itemid=343

Then this in a quantity of 5 (this product has the weight of 4kg for 1 item)...
thisone.catnets.com.au/index.php?option=...7m-x-1-8m&Itemid=343

Then you will get the error message.

But then if you change one of the items to 1 and the other to 9, you don't get the error message.


HikaShop: v.2.5.0
Joomla: v.3.4.3

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 3
10 years 1 month ago #207933

Don't worry about this one now, the calculations are correct but it is just the warning that shows up. I just removed the warning from showing in the plugin as a quick workaround.


HikaShop: v.2.5.0
Joomla: v.3.4.3

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 1 month ago #207948

Hello,
Note that you can also use the new version of the Australia Post (V2) plugin which works with the last Australia Post API (An API key will be required).

Attachments:
Last edit: 10 years 1 month ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 3
10 years 3 weeks ago #209931

Hi, I have installed the Hikashop Australia Post eDeliver Shipping Plugin V2 and retrieved the API from the instant API page ( developers.auspost.com.au/apis ) but it is always the same postage price on checkout adding any number of items does not change the postage amount.

Testing Site: thisone.catnets.com.au


HikaShop: v.2.5.0
Joomla: v.3.4.3

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 3 weeks ago #209947

Hello !
It's working fine on my end, can you show me through some screenshots how did you configured :
- Your shipping method
- The product that you have in your cart

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 3
10 years 3 weeks ago #210072

I have attached 4 screen shots, the first two show no matter if there is one product or multiple products in the cart the postage stays the same. The 3rd, 4th & 5th images show the product & shipping settings.


HikaShop: v.2.5.0
Joomla: v.3.4.3

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 2 weeks ago #210103

Hello,
It should work with that configuration, can you give me a temporary back-end access to your website so that I can directly check and test it ?
You can send it through the contact form :
www.hikashop.com/support/contact-us.html
Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 3
10 years 2 weeks ago #210126

Thank you, I have sent the details.


HikaShop: v.2.5.0
Joomla: v.3.4.3

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 2 weeks ago #210157

Hello,
I just tested it with the "Group products together" option set to NO, and it worked fine, with the same starting price of $7.45.
I'll work on it on my end to reproduce it and fix the "Group products together" option issue, if it's an issue :).

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 3
10 years 1 week ago #210920

Hi, Just to confirm that there is a problem but only when 'Group products together' is selected and you are looking to replicate the problem trying to fix the bug. If so, have you had any luck with it yet?


HikaShop: v.2.5.0
Joomla: v.3.4.3

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 1 week ago #210927

Hello,
I tried to replicate your issue several times but didn't succeed to reproduce it, a solution can be to send us a temporary FTP access to your website so that I can directly debug and test it.
you can send it through our contact form : www.hikashop.com/support/contact-us.html

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 1 week ago #211167

Every time I send only ONE package (Group package option ON) to the Australia Post shipping platform with your account, The rates are ridiculously low, for example when we send :

["from_postcode"]=> "2212"
["to_postcode"]=> "4817"
["length"]=> 150
["width"]=> 150
["height"]=> 10
["weight"]=> 110

The "AUS_PARCEL_REGULAR" Australia Post shipping service is always returned with a cost of $7.45 (+ $5 that you've set through your "price" option) from the Australia post platform

When I do it with my account on my end, I'm also having that issue with the group package option enabled. A solution can be to directly ask it to Australia Post because the Australia post shipping method is sending the correct order details to their API : '/api/v3/postage/domestic/service.json'

The issue is just coming from the fact that when only one package is sent to the Australia post platform the price isn't updated or just for heavy packages.

Last edit: 10 years 1 week ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 3
10 years 1 week ago #211209

Hi Mohamed, thank you for the reply but I am not understanding the solution. What is it I should be doing to fix this issue?


HikaShop: v.2.5.0
Joomla: v.3.4.3

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 1 week ago #211230

What I'm saying is that we are correctly sending the good order details to the Australia Post platform, but the returned rates don't seem to be valid/updated when we group the order in one package, so I sent them an email and I'm waiting for their reply.
So if you want to, feel free to also send them an email, they'll probably reply faster like this :).

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 3
9 years 11 months ago #212009

Hi, did you get a reply from Australia Post?


HikaShop: v.2.5.0
Joomla: v.3.4.3

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
9 years 11 months ago #212021

Hello,
No still no reply, here is the message that I sent them 9 days ago if you want to directly ask them :

Hello,
Some of our clients feedback are saying that when we send a grouped order (only in one package), the rates doesn't change even if the weight / dimension change for that package, here is an example :
When we send these values :

["from_postcode"]=> "2212"
["to_postcode"]=> "4817"
["length"]=> 150
["width"]=> 150
["height"]=> 10
["weight"]=> 110

Even if we increase the weight and some dimensions, the service price is the same and will change only when the weight/dimensions will reach a really high value.

Can you give me more information about it and the way the price is calculated using the API : /api/v3/postage/domestic/service.json

Best regards,
Mohamed.

Last edit: 9 years 11 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 3
9 years 11 months ago #212089

Hi, How and where did you contact them (is there an email?), is there a page in the API Reference ( developers.auspost.com.au/docs/reference ) this is relating to?


HikaShop: v.2.5.0
Joomla: v.3.4.3

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
9 years 11 months ago #212107

Hello,
The first time I had a question, I used the "Help & Support" button and they replied, and now I just sent en email to the email address that they used to reply to me.
ps: I also sent my message through the "Help & Support" button.

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 3
9 years 11 months ago #212971

This is in relation to the 1st question again. Since my client is using the Aust Post V1 plugin because the currency conversion is now working the initial problem is raising its ugly head again.

Hi I am having trouble with the Australian Post Plugin.

Aust Post has a limit of 22kg (this is for one item), if something is sold that is 5kg and there is 10 of them then naturally it gets split up into separate packages. This all works fine when it is one item, for some reason if you have two items that exceed the 22kg even though they can be shipped separately it gets the following error message.

The request to the Australia Post server failed with the message: The maximum weight of a parcel is 22 kg

You can try it by adding this in a quantity of 10 (this product has the weight of 5kg for 1 item)...
thisone.catnets.com.au/index.php?option=...1m-x-1-8m&Itemid=343

Then this in a quantity of 10 (this product has the weight of 4kg for 1 item)...
thisone.catnets.com.au/index.php?option=...7m-x-1-8m&Itemid=343

Then you will get the error message.

But then if you change one of the items to 1 and the other to 9, you don't get the error message.


Here is the scenario..

1 item = 1 kg

The weight limit for aust post is individually 22kg, this means if the 1 item was 24kg then aust post would show shipping for that item. in this case there is 1 item that is 1kg and you can buy 100 of these items as they will get split up into 5 separate packages. Still when you combine 2 items that exceed the 22kg it wont show the Aust Post shipping.This is the same as what I have written above but now there is no error message as I have simply hidden it using CSS

Aust Post has a limit of 22kg (this is for one item), if something is sold that is 5kg and there is 10 of them then naturally it gets split up into separate packages. This all works fine when it is one item, for some reason if you have two items that exceed the 22kg even though they can be shipped separately it gets the following error message.



Do you still have the access details for this site to check it out?


HikaShop: v.2.5.0
Joomla: v.3.4.3
Last edit: 9 years 11 months ago by danpoole.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
9 years 11 months ago #212988

Hello,
note that if you want to edit the AuPost limitation, you'll have to edit the following code of the file "aupost.php" :

$limit = array();
		if(@$order->shipping_address_full->shipping_address->address_country->zone_code_2 == 'AU'){
			$limit['w'] = 22000;
			$limit['volume'] = 250000000;
			$limit['x'] = 1050;
		}else{
			$limit['w'] = 20000;
			$limit['girth'] = 1400;
			$limit['x'] = 1050;
		}

Still when you combine 2 items that exceed the 22kg it wont show the Aust Post shipping

That's only because multiple items can be split into multiple packages, but not ONE item. In your case, the only solution will be do directly change the weight limitation through the AuPost code, or to ignore the weight limitation by editing the lines (their is 2 getOrderPackage call) :
$packages = $this->getOrderPackage($order, array('weight_unit' => 'g', 'volume_unit' => 'mm', 'limit' => $limit, 'required_dimensions' => array('w','x','y','z')));
By :
$packages = $this->getOrderPackage($order, array('weight_unit' => 'g', 'volume_unit' => 'mm', 'limit' => $limit, 'required_dimensions' => array('x','y','z')));
and also by removing the
$limit['w'] = 20000;
and
$limit['w'] = 22000;
lines.

Last edit: 9 years 11 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

Time to create page: 0.120 seconds
Powered by Kunena Forum