3 replies [Last post]
mk31762's picture
Offline
Joined: 05/28/2009
Juice: 44
Was this information Helpful?

I'm getting the following error when I try to get a shipping quote from FedEx:

# Error in processing FedEx Shipping Quote transaction.
# ERROR
crs 874 Package detail is required.
Please resubmit your request using INDIVIDUAL_PACKAGES, PACKAGE_GROUPS, or PACKAGE_SUMMARY.
# Package detail is required. Please resubmit your request using INDIVIDUAL_PACKAGES, PACKAGE_GROUPS, or PACKAGE_SUMMARY.
# Error in processing FedEx Shipping Quote transaction.
# ERROR
# crs
# 874
# Package detail is required. Please resubmit your request using INDIVIDUAL_PACKAGES, PACKAGE_GROUPS, or PACKAGE_SUMMARY.
# Package detail is required. Please resubmit your request using INDIVIDUAL_PACKAGES, PACKAGE_GROUPS, or PACKAGE_SUMMARY.

Version info:

Drupal 6.12
Ubercart 6.x-2.0-rc3
uc_fedex 6.x-2.x-dev

Am I missing something, or did FedEx change something in their API and the uc_fedex module just hasn't been brought up to speed yet? I really hope that's not the case.

Thanks,

MK

mk31762's picture
Offline
Joined: 05/28/2009
Juice: 44
Re: uc_fedex Error: Package detail is required.

Ok, I'm going to answer my own question again.

I added the middle line below to the uc_fedex.module in the uc_fedex_rate_request function (I showed the surrounding lines for placement reference):

$request['RequestedShipment']['PackageCount'] = count($packages);
$request['RequestedShipment']['PackageDetail'] = 'INDIVIDUAL_PACKAGES';
$request['RequestedShipment']['RequestedPackages'] = array();

That seemed to do the trick.

MK

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Re: uc_fedex Error: Package detail is required.

Please post this in the issue queue at http://drupal.org/project/uc_fedex

<tr>.
mk31762's picture
Offline
Joined: 05/28/2009
Juice: 44
Re: Re: Re: uc_fedex Error: Package detail is required.

done