Shipping not calculating with multiple items
-
Client reports that checkout process does not calculate multiple item shipping. Please note the attached URL creates a checkout experience with 3 items, 2 identical, one differing (see case 1 below). For additional cases, manipulate the url provided.
This issue was found when a client of theirs attempted this same assortment of items and was charged far too little for shipping. Client is furious at having to cover the remaining shipping cost.
Currently running version 1.10.10
Case 1: All 3 items as shown in link provided, shipping cost: $27.05 for parcel, $37.05 for expressCase 2: Removing one of the items, shipping cost: $25.25 for parcel, $34.95 for express
Case 3: Adding just one item to the cart: $23.45 for parcel, $32.25 for express
Something is clearly wrong with the calculations…-
This topic was modified 6 days, 5 hours ago by
evenstephen1.
The page I need help with: [log in to see the link]
-
This topic was modified 6 days, 5 hours ago by
-
Hello @evenstephen1
Would you please send me the origin and destination postcodes?Sure thing.
Origin: 2117
Destination: 3088
Bump
Hello @evenstephen1
Sorry, I did not get a notification for your first reply.
I have looked into the issue, and the total weight of the items is 15.9kg so the $27.05 price can not be right.
Would you please go the plugin settings page, and enable the debug mode, then add the 3 items to the cart, and you will see debugging messages on the Cart/Checkout page, would you please send these messages to me? You can remove the API Key from the messages.
PS: these messages only appear for admins, please disable the debug mode after that.hang on let me look…
-
This reply was modified 1 day, 9 hours ago by
evenstephen1.
-
This reply was modified 1 day, 9 hours ago by
evenstephen1.
Array ( [1] => Array ( [weight] => 5.35 [length] => 66.5 [height] => 16 [width] => 29 [quantity] => 1 [name] => Box #11 [postcode] => 3200 ) )
Packing Request:?https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3200&length=66.5&width=29&height=16&weight=5.35&service_code=AUS_PARCEL_REGULAR
Australia Post RESPONSE:?stdClass Object ( [postage_result] => stdClass Object ( [service] => Parcel Post [delivery_time] => Delivered in 2-3 business days [total_cost] => 23.45 [costs] => stdClass Object ( [cost] => stdClass Object ( [item] => Parcel Post [cost] => 23.45 ) ) ) )
Packing Request:?https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3200&length=66.5&width=29&height=16&weight=5.35&service_code=AUS_PARCEL_EXPRESS
Australia Post RESPONSE:?stdClass Object ( [postage_result] => stdClass Object ( [service] => Express Post [delivery_time] => Guaranteed Next Business Day within the Express Post network (If posted on any business day Monday to Friday in accordance with the conditions set out on the item). [total_cost] => 32.25 [costs] => stdClass Object ( [cost] => stdClass Object ( [item] => Express Post [cost] => 32.25 ) ) ) )
Packing Details:?Array ( [1] => Array ( [weight] => 10.7 [length] => 66.5 [height] => 29 [width] => 32 [quantity] => 2 [name] => Box #19 [postcode] => 3200 ) )
Packing Request:?https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3200&length=66.5&width=32&height=29&weight=10.7&service_code=AUS_PARCEL_REGULAR
Australia Post RESPONSE:?stdClass Object ( [postage_result] => stdClass Object ( [service] => Parcel Post [delivery_time] => Delivered in 2-3 business days [total_cost] => 25.05 [costs] => stdClass Object ( [cost] => stdClass Object ( [item] => Parcel Post [cost] => 25.05 ) ) ) )
Packing Request:?https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3200&length=66.5&width=32&height=29&weight=10.7&service_code=AUS_PARCEL_EXPRESS
Australia Post RESPONSE:?stdClass Object ( [postage_result] => stdClass Object ( [service] => Express Post [delivery_time] => Guaranteed Next Business Day within the Express Post network (If posted on any business day Monday to Friday in accordance with the conditions set out on the item). [total_cost] => 34.65 [costs] => stdClass Object ( [cost] => stdClass Object ( [item] => Express Post [cost] => 34.65 ) ) ) )
Packing Details:?Array ( [1] => Array ( [weight] => 15.9 [length] => 66.5 [height] => 38 [width] => 40.5 [quantity] => 3 [name] => Box #19 [postcode] => 3200 ) )
Packing Request:?https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3200&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_REGULAR
Australia Post RESPONSE:?stdClass Object ( [postage_result] => stdClass Object ( [service] => Parcel Post [delivery_time] => Delivered in 2-3 business days [total_cost] => 27.05 [costs] => stdClass Object ( [cost] => stdClass Object ( [item] => Parcel Post [cost] => 27.05 ) ) ) )
Packing Request:?https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3200&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_EXPRESS
Australia Post RESPONSE:?stdClass Object ( [postage_result] => stdClass Object ( [service] => Express Post [delivery_time] => Guaranteed Next Business Day within the Express Post network (If posted on any business day Monday to Friday in accordance with the conditions set out on the item). [total_cost] => 37.65 [costs] => stdClass Object ( [cost] => stdClass Object ( [item] => Express Post [cost] => 37.65 ) ) ) )
Have a coupon??Click here to enter your code
Packing Details:?Array ( [1] => Array ( [weight] => 15.9 [length] => 66.5 [height] => 38 [width] => 40.5 [quantity] => 3 [name] => Box #19 [postcode] => 3200 ) )
Packing Request:?https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3200&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_REGULAR
Australia Post RESPONSE:?stdClass Object ( [postage_result] => stdClass Object ( [service] => Parcel Post [delivery_time] => Delivered in 2-3 business days [total_cost] => 27.05 [costs] => stdClass Object ( [cost] => stdClass Object ( [item] => Parcel Post [cost] => 27.05 ) ) ) )
Packing Request:?https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3200&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_EXPRESS
Australia Post RESPONSE:?stdClass Object ( [postage_result] => stdClass Object ( [service] => Express Post [delivery_time] => Guaranteed Next Business Day within the Express Post network (If posted on any business day Monday to Friday in accordance with the conditions set out on the item). [total_cost] => 37.65 [costs] => stdClass Object ( [cost] => stdClass Object ( [item] => Express Post [cost] => 37.65 ) ) ) )
Packing Details:?Array ( [1] => Array ( [weight] => 15.9 [length] => 66.5 [height] => 38 [width] => 40.5 [quantity] => 3 [name] => Box #19 [postcode] => 3200 ) )
Packing Request:?https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3200&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_REGULAR
Australia Post RESPONSE:?stdClass Object ( [postage_result] => stdClass Object ( [service] => Parcel Post [delivery_time] => Delivered in 2-3 business days [total_cost] => 27.05 [costs] => stdClass Object ( [cost] => stdClass Object ( [item] => Parcel Post [cost] => 27.05 ) ) ) )
Packing Request:?https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3200&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_EXPRESS
Australia Post RESPONSE:?stdClass Object ( [postage_result] => stdClass Object ( [service] => Express Post [delivery_time] => Guaranteed Next Business Day within the Express Post network (If posted on any business day Monday to Friday in accordance with the conditions set out on the item). [total_cost] => 37.65 [costs] => stdClass Object ( [cost] => stdClass Object ( [item] => Express Post [cost] => 37.65 ) ) ) )
Packing Details:?Array ( [1] => Array ( [weight] => 15.9 [length] => 66.5 [height] => 38 [width] => 40.5 [quantity] => 3 [name] => Box #19 [postcode] => 3200 ) )
Packing Request:?https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3200&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_REGULAR
Australia Post RESPONSE:?stdClass Object ( [postage_result] => stdClass Object ( [service] => Parcel Post [delivery_time] => Delivered in 2-3 business days [total_cost] => 27.05 [costs] => stdClass Object ( [cost] => stdClass Object ( [item] => Parcel Post [cost] => 27.05 ) ) ) )
Packing Request:?https://digitalapi.auspost.com.au/postage/parcel/domestic/calculate.json?from_postcode=3088&to_postcode=3200&length=66.5&width=40.5&height=38&weight=15.9&service_code=AUS_PARCEL_EXPRESS
Australia Post RESPONSE:?stdClass Object ( [postage_result] => stdClass Object ( [service] => Express Post [delivery_time] => Guaranteed Next Business Day within the Express Post network (If posted on any business day Monday to Friday in accordance with the conditions set out on the item). [total_cost] => 37.65 [costs] => stdClass Object ( [cost] => stdClass Object ( [item] => Express Post [cost] => 37.65 ) ) ) )I tried posting it here, but my comment has been under review for almost 7 hours now. Here’s a paste of the result
Hello @evenstephen1
Thanks for the info, I see the prices match with the official calculator: https://auspost.com.au/parcels-mail/calculate-postage-delivery-times/#/option/domestic/3088/3200
Please keep in mind that the plugin combine the 3 items in one box. Would you please let me know which combination has the wrong prices? Also, you mentioned earlier that the origin and destination postcodes are 2117 and 3088 but the in the debugging messages the destination is 3200 this will change the pricing as well.-
This reply was modified 20 hours, 49 minutes ago by
Waseem Senjer.
Apologies, I changed the zip code from the original while testing to see if it made a difference. Here is the correct paste:
https://pastebin.com/B0kgMtc7Please keep in mind that the plugin combine the 3 items in one box. Would you please let me know which combination has the wrong prices?
They are not combined and if they are this is not an accurate portrayal. There is no way that shipping 1 item is $23.45 and shipping 3 is $27.05 for standard shipping.
While testing I realized that the zip code change does not impact the price in the slightest. The price for 3088 and 3200 is the same for shipping, which also makes no sense.
@evenstephen1
The prices are correct, please test the same weight, dimensions and postcodes on https://auspost.com.au/parcels-mail/calculate-postage-delivery-times/#/option/domestic/3088/3088 and compare.
Here is a screenshot: https://prnt.sc/0WDeOZ1ANBel -
This reply was modified 1 day, 9 hours ago by
- You must be logged in to reply to this topic.