Australia Post shipping calculating wrong

  • Posts: 58
  • Thank you received: 0
8 years 9 months ago #230803

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.24
-- Browser(s) name and version -- : Chrome 41.0.2272.118

Hi,

Updated Hikashop recently and because of the update I had to select Australia Post v2 as the shipping method.
Selected the option that were similar to the original Australia Post options previously.

Did a test and the calculating of the product to be sent is picking up the wrong dollar amount. (see attachment).

Product dimensions are:
Weight: 2kg
Volume: 520, 480, 460 mm

I tried this on the Australia Post website and it came back with the correct cost as V1, but V2 is not working, it looks like it is not picking up the product dimensions.

I have had to restore back to V1 in the meantime.

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
8 years 9 months ago #230853

Hello,
Note that you're not forced to use the V2 version if you are getting the correct rates with the V1 version. Regarding the V2 version, it's only sending these parameters to the Australia Post platform and then display the Australia Post response.

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

  • Posts: 58
  • Thank you received: 0
8 years 9 months ago #230917

Is there a way to remove the displayed error on the checkout page?

That Australia Post shipping version is deprecated and is using the old Australia post API, Please start using the new Australia Post v2 shipping method

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

  • Posts: 12953
  • Thank you received: 1778
8 years 9 months ago #231025

Hello,
Note that this error message won't be displayed for customers but only for super admin accounts. But if you really want to remove it, you'll have to remove these lines on the "Aupost.php" file :

$iAmSuperAdmin = false;
if(!HIKASHOP_J16) {
	$iAmSuperAdmin = ($user->get('gid') == 25);
} else {
	$iAmSuperAdmin = $user->authorise('core.admin');
}
if ($iAmSuperAdmin)
	$app->enqueueMessage('That Australia Post shipping version is deprecated and is using the old Australia post API, Please start using the new Australia Post v2 shipping method');

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

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

  • Posts: 58
  • Thank you received: 0
8 years 9 months ago #231061

Thank you

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

Time to create page: 0.097 seconds
Powered by Kunena Forum