Requested shipment package count did not match the summed total of group package count values.

787 views
Skip to first unread message

Justin X

unread,
Mar 26, 2014, 10:52:33 PM3/26/14
to ship...@googlegroups.com
I put 1000 pieces of a single item in my cart and click the quote.

my fedex rates is 5x - 10x higher than that in my FedEx account rates and I think this is the problem.

this the is error message: Requested shipment package count did not match the summed total of group package count values; the summed total of group package count values was used to rate

Anyone here knows how to fix it? Thank you very much

my magento verison is 1.8.0.0 with lastest version of shipsync 5 installed. 

debug log is attached for reference
shipsync_rate.log

Justin X

unread,
Mar 27, 2014, 10:44:47 AM3/27/14
to ship...@googlegroups.com
I tested again this morning and i can confirm that whenever i request a single package rate, it works fine.
 
whenever i request a multiple shipments rate quote, the fedex rates are wrong.

Anybody knows a fix for this bug? Thank you.

[Message] => Requested shipment package count did not match the summed total of group package count values; the summed total of group package count values was used to rate.
                    [LocalizedMessage] => Requested shipment package count did not match the summed total of group package count values; the summed total of group package count values was used to rate.
                

David Kirby

unread,
Apr 22, 2014, 2:58:35 PM4/22/14
to ship...@googlegroups.com
Heya,

Give this build a shot and let me know if that fixes it :


(just updated it yesterday)

Justin X

unread,
Jun 23, 2014, 7:27:03 PM6/23/14
to ship...@googlegroups.com
HI, David 
the problem is NOT fixed. I download the latest version this month. You can test on my testing server, http://www.fromthelady.com/mag180/demo.html

Please add 1000 pieces of the above item to shopping cart and request your shipping quote after that. I disabled Packages Enable Dimensions so that size does not matter.

You can put my testing zip code 11358 in New York. The correct FedEx shipping total should be about $113.68 instead of $413.28

Thank you very much for your help.

Justin


--
You received this message because you are subscribed to a topic in the Google Groups "ShipSync Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/shipsync/VtE36sysUsc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to shipsync+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Justin X

unread,
Jun 25, 2014, 4:59:32 PM6/25/14
to ship...@googlegroups.com
Hi, David

I attached the new shipsync log, you can look at it. 
You can test my demo link above. The rates are way off compare to my FedEx account and UPS standard rates. 


I found the the issue and pasted below but i don't know how to fix it. Please take a look. Thank you.

2014-06-25T20:51:36+00:00 DEBUG (7): stdClass Object
(
    [HighestSeverity] => WARNING
    [Notifications] => Array
        (
            [0] => stdClass Object
                (
                    [Severity] => WARNING
                    [Source] => crs
                    [Code] => 304
                    [Message] => Requested shipment package count did not match the summed total of group package count values; the summed total of group package count values was used to rate.
                    [LocalizedMessage] => Requested shipment package count did not match the summed total of group package count values; the summed total of group package count values was used to rate.
                )

  
shipsync_rate.log

Jon Culver

unread,
Jun 25, 2014, 5:23:08 PM6/25/14
to ship...@googlegroups.com
I've noticed some distorted pricing as well.

I also noticed that, for shipments with multiple packages, it makes n number of requests to the FedEx API, even though each individual request contains info about the other three packages.


Rewriting core is scary but one API request certainly seems the more efficient route.

Justin X

unread,
Jun 25, 2014, 11:29:34 PM6/25/14
to ship...@googlegroups.com
Hi, Jon

I tried rate quote with Magento build-in FedEx shipping module, it works fine. 

There must be some rate quote bugs in Shipsync 5.



--

Jon Culver

unread,
Jul 18, 2014, 5:54:58 PM7/18/14
to ship...@googlegroups.com
I found the culprit — in app/code/community/IllApps/Shipsync/Model/Shipping/Carrier/Fedex/Rate

GroupPackageCount should be 1 (or, better stated, should have some better logic for handling values > 1). Line 417:

   $request['RequestedShipment']['RequestedPackageLineItems'][$i]['GroupPackageCount'] = 1;

Basically, we're looping over all the packages, then saying each package (1, 2, 3..) has n number of packages in it (1, 2, 3).

It takes care of the error message ("Requested shipment package count did not match the summed total of group package count values; the summed total of group package count values was used to rate.") and makes the rates much more sensible for multiple-piece shipments.

Hooray!

Jon

Abneet Wats

unread,
Jul 26, 2020, 12:14:34 PM7/26/20
to ShipSync Community
@Jon rather changing GroupPackageCount 

add before $request['RequestedShipment']['RequestedPackageLineItems'][$i]['GroupPackageCount']  and revert that line to original.
  
$request['RequestedShipment']['PackageCount'] = noOfPackage;
Reply all
Reply to author
Forward
0 new messages