Enable Package Breakup USPS International

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
dc8johnson
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 87
Joined: Fri Nov 20, 2009 8:46 am

Enable Package Breakup USPS International

Post by dc8johnson » Mon Nov 21, 2011 6:04 pm

USPS is saying that the maximum package weight to Australia is 70 pounds. In our test order we are shipping two products that are each under 70 pounds and we have set up our USPS shipping provider to enable package breakup.

Image

but USPS is still saying the maximum weight has been exceeded. Here's the log entries for our request and their response:

Code: Select all

Send: API=IntlRate&XML=<?xml version="1.0" encoding="UTF-8"?><IntlRateRequest USERID="############"><Package ID="0"><Pounds>85</Pounds><Ounces>0</Ounces><MailType>Package</MailType><Country>Australia</Country></Package></IntlRateRequest>

Code: Select all

Receive: <?xml version="1.0"?>
<IntlRateResponse><Package ID="0"><Error><Number>-2147218045</Number><Source>IntlPostage;clsIntlPostage.CalcAllPostageDimensionsXML;IntlRate.ProcessRequest</Source><Description>Exceeded maximum weight for mail service type.  Maximum weight to AUSTRALIA = 70.</Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error></Package></IntlRateResponse>
Here are the products from the ac_BasketItems table:

Code: Select all

10" Ratcheting T-Handle Tap Wrench	= 31.0000 pounds
Large Ball Joint Press Set = 54.0000 pounds
Should this work?
Here's our site configuration info:

AbleCommerce for ASP.NET
VERSION: 7.0.6.14312
MSSQL v2008
AC SCHEMA v2005
.NET CLR v2.0.50727.4952
ASP.NET TRUST: Unrestricted

AjaxControlToolkit: 3.0.20229.20843
CommerceBuilder: 7.6.14302.0
CommerceBuilder.AbleCommerceTax: 7.4.13043.0
CommerceBuilder.AcTestProvider: 1.0.0.0
CommerceBuilder.AustraliaPost: 7.1.0.0
CommerceBuilder.AuthorizeNet: 7.3.12625.0
CommerceBuilder.AvaTax: 7.6.14309.0
CommerceBuilder.BankOfCanada: 7.3.0.0
CommerceBuilder.CanadaPost: 7.0.0.0
CommerceBuilder.Configuration: 7.6.14302.0
CommerceBuilder.CyberSource: 7.5.13718.0
CommerceBuilder.Data: 7.6.14302.0
CommerceBuilder.DataClient.Api: 7.6.14302.0
CommerceBuilder.DataClient.Csv: 1.0.0.0
CommerceBuilder.DHLInternational: 7.2.11307.0
CommerceBuilder.ECB: 7.0.0.0
CommerceBuilder.FedEx: 7.0.9725.0
CommerceBuilder.GoogleCheckout: 7.6.14238.0
CommerceBuilder.InternetSecure: 7.0.9764.0
CommerceBuilder.LinkPoint: 7.0.9764.0
CommerceBuilder.Paradata: 7.0.9764.0
CommerceBuilder.PayFlowPro: 7.0.10061.0
CommerceBuilder.PayJunction: 7.3.12625.0
CommerceBuilder.PaymentechOrbital: 7.5.14063.0
CommerceBuilder.PayPal: 7.6.14103.0
CommerceBuilder.Protx: 7.3.12327.0
CommerceBuilder.Services: 7.6.14302.0
CommerceBuilder.SkipJack: 7.0.9764.0
CommerceBuilder.UPS: 7.0.10041.0
CommerceBuilder.USPS: 7.3.14320.0
CommerceBuilder.WATax: 7.5.13942.0
CommerceBuilder.Web: 7.6.14302.0
ComponentArt.Web.UI: 2010.1.2637.35
CyberSource.Base: 2.0.0.0
CyberSource.Clients: 5.0.2.0
CyberSource.Clients.XmlSerializers: 5.0.2.0
CyberSource.WSSecurity: 2.0.0.0
CybsWSSecurityIOP: 1.0.0.0
DataPort.Framework: 7.4.221.0
FredCK.FCKeditorV2: 2.5.2912.21007
ICSharpCode.SharpZipLib: 0.85.5.452
LinkPointTransaction: 1.0.1797.29766
log4net: 1.2.10.0
Microsoft.Web.Preview: 1.2.61025.0
NVelocity: 7.2.0.0
PaygatewayNET: 3.0.0.0
paypal_base: 4.2.1.0
PFProCOMLib: 1.0.0.0
PFProdotNET: 0.0.0.0
RSS.NET: 0.86.2977.28464
Validators: 1.0.0.0
WebChart: 1.1.1.6
wwHoverPanel: 1.85.0.0

Thanks!
David Johnson

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Enable Package Breakup USPS International

Post by AbleMods » Wed Nov 23, 2011 9:22 am

I'm not 100%, but I don't think the AC7 shipment gateways actually do the package breakup work. I know it doesn't make sense given there's an option for it on the gateway setup page, but that's my recollection.

My recollection is that AC7 will combine all the items on a shipment and then request a single rate quote from the given carrier. To correctly get a package-breakup scenario you would have to mark the catalog items as 'Ships Separately' on the Edit Product page. In other words, if the order itself doesn't have multiple shipments then AC7 isn't going to rate it as such.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

dc8johnson
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 87
Joined: Fri Nov 20, 2009 8:46 am

Re: Enable Package Breakup USPS International

Post by dc8johnson » Wed Nov 23, 2011 10:51 pm

Joe - thanks for the info!
David Johnson

Post Reply