Forums / Addon Shipping Modules / Australia Post Shipping Module 2.0

Australia Post Shipping Module 2.0

Views: 55,946

Results 81 to 100 of 150
8 Nov 2023, 11:09 PM
#81
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Australia Post Shipping Module 2.0

OldNGrey:

Can you turn on **Enable Debug **andprovide a screen shot of the shopping cart with one item and the first postage estimates returned. ?

Image as requested.
Attachment 20419

Outdoorking
Live Site https://www.outdoorking.com.au

8 Nov 2023, 11:20 PM
#82
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

OldNGrey:

Can you turn on **Enable Debug **andprovide a screen shot of the shopping cart with one item and the first postage estimates returned. ?

Updated images
Attachment 20420

Attachment 20421Attachment 20421

Outdoorking
Live Site https://www.outdoorking.com.au

9 Nov 2023, 4:06 AM
#83
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
427
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

This is very puzzling! Do you have AUD set as the default currency?
Could you also attach clear screen shots of your admin configuration for the aupost module?

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB

9 Nov 2023, 11:25 AM
#84
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

OldNGrey:

This is very puzzling! Do you have AUD set as the default currency?
Could you also attach clear screen shots of your admin configuration for the aupost module?

Setting is AU dollars and here are the screen shots.

Attachment 20422
Attachment 20423
Attachment 20424

Outdoorking
Live Site https://www.outdoorking.com.au

9 Nov 2023, 11:36 AM
#85
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

Getting this error again and no rates are showing, I did update the exchange rate when I checked that it was Australian dollars as the default curency:

Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /home/xxxx/public_html/includes/modules/shipping/aupost.php:635 Stack trace: #0 /home/xxxx/public_html/includes/classes/shipping.php(201): aupost->quote() #1 /home/xxxx/public_html/includes/modules/shipping_estimator.php(151): shipping->quote() #2 /home/xxxx/public_html/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php(220): require('/home/a1ntacdk3...') #3 /home/xxxx/public_html/includes/templates/bootstrap/common/tpl_main_page.php(216): require('/home/a1ntacdk3...') #4 /home/xxxx/public_html/index.php(94): require('/home/a1ntacdk3...') #5 {main} thrown in /home/xxxx/public_html/includes/modules/shipping/aupost.php on line 635

Outdoorking
Live Site https://www.outdoorking.com.au

9 Nov 2023, 10:24 PM
#86
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

The error reported only happened when I was logged in but for some reason it has not happened again since yesterday

Outdoorking
Live Site https://www.outdoorking.com.au

10 Nov 2023, 2:20 AM
#87
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
427
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

The version you have is not the latest. Platinum parcels were dropped by Aust Post a while ago and taken out of aupost early this year

Please download the latest version from GitHub https://github.com/OldNGreyBMR/aupost/releases/tag/2.5.5-07
Don't forget to remove the module and then reinstall the module to install the latest changes and values.
If you set Hide Handling Fees? to No it should have text after the returned value like (Inc $0.00 P & H)).

With the latest version I can track down the error by the line number. When the error occurs, It looks like you are getting an invalid or empty quote back from Aust Post.

Are all of your product weights in kgs?

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB

10 Nov 2023, 2:50 AM
#88
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

OldNGrey:

The version you have is not the latest. Platinum parcels were dropped by Aust Post a while ago and taken out of aupost early this year

Please download the latest version from GitHub https://github.com/OldNGreyBMR/aupost/releases/tag/2.5.5-07
Don't forget to remove the module and then reinstall the module to install the latest changes and values.
If you set Hide Handling Fees? to No it should have text after the returned value like (Inc $0.00 P & H)).

With the latest version I can track down the error by the line number. When the error occurs, It looks like you are getting an invalid or empty quote back from Aust Post.

Are all of your product weights in kgs?

In zencart I have all items set to kilo and if it is only 1/2 kilo it is set to 0.50 for the item weight. If it is something like a ride on mower blade it is set to 1.51 kilo.

The dimension are not on all products because it is very time-consuming, so we set to 30,25,10 which most items fit into a satchel for Australia post.

I will get the module you suggested installed within the next 24 to 48 hours.

Outdoorking
Live Site https://www.outdoorking.com.au

14 Feb 2024, 10:01 PM
#89
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
427
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

I have updated the Australia Post Shipping module in my GitHub repository https://github.com/OldNGreyBMR/aupos...s/tag/v2.5.6
and submitted this version to the administrators for review.

The AustPost module is now at V2.5.6 and the AusPost Overseas module is now at V2.5.6.

Changes are:

  • update CODES to Exclude AP options that require purchasing additional AP packaging
  • correct issue #10 related to incorrect price for some parcels >500 and <1000g

Before installing in a Production environment please test it on a test system first.

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB

5 Apr 2024, 2:13 AM
#90
kias_henry avatar

kias_henry

New Zenner

Join Date:
Jun 2015
Posts:
9
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

Hi folks,

I had customized the 2.0.2 module for a client, but after upgrading from php 5.4 to 7.4 and from an old zencart to the latest, the module is no longer working.. I just get error, postage could not be calculated. I used ai to try fix any errors that were coming up but still get the same message. Just tried to install aupost.php,v2.5.5.05 Sep 2023 and now im getting 'Sorry, we are not shipping to your region at this time.
Please contact us for alternate arrangements.'.

Is anyone able to help me get the old module I've customized working with some advice on what changed and why it wouldn't be compatible anymore with newer php and zencart?

Thanks,

Kias

5 Apr 2024, 7:06 AM
#91
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
427
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

You say you are on the latest version of Zen Cart (v158a)with PHP7.4.
In admin | shipping modules | Australia Post what version number is displayed?
What shipping modules do you have turned on?

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB

7 Apr 2024, 3:34 AM
#92
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
427
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

Kias Henry:

and now im getting 'Sorry, we are not shipping to your region at this time.
Please contact us for alternate arrangements.'.
This an error message from one of the default shipping modules built into Zen Cart.
Possibly related to "Free Shipping" see previous discussion [ https://www.zen-cart.com/showthread.php?217866-Sorry-we-are-not-shipping-to-your-region-at-this-time/page4 ]
also see the documentation [ https://docs.zen-cart.com/user/troubleshooting/shipping_problems/ ]

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB

8 Nov 2024, 1:10 AM
#93
vacuumdog avatar

vacuumdog

New Zenner

Join Date:
Jul 2020
Location:
Traralgon
Posts:
20
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

I don't know when or why but suddenly I cannot select any other shipping except for standard parcel. Just returns a blank page when continuing to step2 of Delivery Information.
Zencart version 2.0.1 module version 2.5.6 PHP version 8.3.11

[08-Nov-2024 11:50:59 Australia/Melbourne] PHP Fatal error: Uncaught TypeError: strlen(): Argument #1 ($string) must be of type string, false given in /includes/modules/shipping/aupost.php:159
Stack trace:
#0 /includes/classes/shipping.php(245): aupost->quote()
#1 /includes/modules/pages/checkout_shipping/header_php.php(160): shipping->quote()
#2 /index.php(35): require('/users/user/...')
#3 {main}
thrown in /includes/modules/shipping/aupost.php on line 159

[08-Nov-2024 11:50:59 Australia/Melbourne] Request URI: /index.php?main_page=checkout_shipping, IP address: xxx.xxx.xxx.xxx
--> PHP Fatal error: Uncaught TypeError: strlen(): Argument #1 ($string) must be of type string, false given in /includes/modules/shipping/aupost.php:159
Stack trace:
#0 /includes/classes/shipping.php(245): aupost->quote()
#1 /includes/modules/pages/checkout_shipping/header_php.php(160): shipping->quote()
#2 /index.php(35): require('/users/user/...')
#3 {main}
thrown in /includes/modules/shipping/aupost.php on line 159.

[08-Nov-2024 11:50:59 Australia/Melbourne] Request URI: /index.php?main_page=checkout_shipping, IP address: xxx.xxx.xxx.xxx
--> PHP Fatal error: Uncaught TypeError: strlen(): Argument #1 ($string) must be of type string, false given in /includes/modules/shipping/aupost.php:159
Stack trace:
#0 /includes/classes/shipping.php(245): aupost->quote()
#1 /includes/modules/pages/checkout_shipping/header_php.php(160): shipping->quote()
#2 /index.php(35): require('/users/user/...')
#3 {main}
thrown in /includes/modules/shipping/aupost.php on line 159.

Zen Cart 2.0.1
PHP 8.3.11

8 Nov 2024, 1:39 AM
#94
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
427
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

Please use v 2.5.6d from the GitHub https://github.com/OldNGreyBMR/aupost
That strlen(search) error was fixed in V2.5.6.c

Also please insure that handling fees are not blank or a space.

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB

8 Nov 2024, 2:11 AM
#95
vacuumdog avatar

vacuumdog

New Zenner

Join Date:
Jul 2020
Location:
Traralgon
Posts:
20
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

MAGIC!!
Thanks for such a quick response....awesome...fixed.

Zen Cart 2.0.1
PHP 8.3.11

14 Nov 2024, 3:43 AM
#96
vacuumdog avatar

vacuumdog

New Zenner

Join Date:
Jul 2020
Location:
Traralgon
Posts:
20
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

I am using module version 1.5.6.d and I have an issue with tax on shipping when paid through paypal.
I only ship from Australia to Australia.
I have taxable goods set in the AP module.
I have Basis of shipping tax set to shipping.
At checkout it shows the correct amount for shipping, $11.45, however when continuing to pay with paypal (my only payment method apart from walk-in) it becomes $10.41 which is the price before GST.
Not sure where the problem lies......:frusty::frusty::frusty:

Zen Cart 2.0.1
PHP 8.3.11

14 Nov 2024, 4:31 AM
#97
vacuumdog avatar

vacuumdog

New Zenner

Join Date:
Jul 2020
Location:
Traralgon
Posts:
20
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

That should read 2.5.6.d....

Zen Cart 2.0.1
PHP 8.3.11

15 Nov 2024, 1:51 AM
#98
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
427
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

I don't use Paypal and don't have way to test it. I think you have to be using "PayPal RESTful" not the built in Paypal payments - check on the "PayPal RESTful" forum.

I use Dirbank AU and SecurePay for credit cards and neither has this problem.

A search shows similar problems in the past where the Localization > Currencies was not set to 1 https://www.zen-cart.com/showthread.php?211578-Zen-Cart-v151-not-sending-the-correct-total-amount-over-to-Paypal&p=1232046#post1232046. What is your setting?

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB

15 Nov 2024, 2:39 AM
#99
vacuumdog avatar

vacuumdog

New Zenner

Join Date:
Jul 2020
Location:
Traralgon
Posts:
20
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

Yeah, its set to 1.
The correct item prices are being sent to paypal, it's just the postage that's dropping the GST off the postage total including handling fees.
I'll check out the other plugin and see what happens.

Zen Cart 2.0.1
PHP 8.3.11

15 Nov 2024, 2:52 AM
#100
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
427
Plugin Contributions:
0

Re: Australia Post Shipping Module 2.0

If you use Store Pickup and set the cost to $10 ; set tax to GST; Tax basis to shipping:
so the cost inc is $11.00 does it still do it?

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB