I've got a really big problem! For some reason, USPS shipping seems to have stopped working! I wanted to do a test transaction, and nothing I do seems to get shipping to show up during checkout and now my cart is stuck in a loop it seems. Help!
USPS shipping stopped working? Cart can't progress?
Started by scythe000, Apr 14 2012 06:21 AM
4 replies to this topic
#1
Posted 14 April 2012 - 06:21 AM
#2
Posted 14 April 2012 - 06:43 AM
This error shows in the request log:
Request Sent - http://production.shippingapis.com/ShippingAPI.dll API=RateV4&XML=<RateV4Request USERID="392ONSAN7399"> <Package ID="0"> <Service>ALL</Service> <ZipOrigination>93001</ZipOrigination> <ZipDestination>93001</ZipDestination> <Pounds>6</Pounds> <Ounces>8</Ounces> <Container>VARIABLE</Container> <Size>REGULAR</Size> <Machinable>False</Machinable> <ReturnLocations>TRUE</ReturnLocations> <ShipDate>13-Apr-2012</ShipDate> </Package></RateV4Request> Response received <?xml version="1.0"?> <RateV4Response><Package ID="0"><Error><Number>-2147219421</Number><Source>DomesticRatesV4;clsRateV4.ValidateShipDate;RateEngineV4.ProcessRequest</Source><Description>Ship Date must be within the next three days.</Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error></Package></RateV4Response>
#3
Posted 14 April 2012 - 07:03 AM
Holy Sh1t, i fixed it! I saw from here: http://forums.oscomm.../page__st__1120 that the ship date info isn't even necessary to send at all. I went to /modules/shipping/USPS/shipping.class.php and commented out this line:
// $xml->writeElement('ShipDate',date("d-M-Y"));
and voila!it worked again!
#4
Posted 16 April 2012 - 03:25 PM
Thanks for letting us know about this. We have removed that line from the next release.
#5
Posted 07 May 2012 - 10:09 PM
Glad to help. ETA on release?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











