Jump to content


Photo

USPS shipping stopped working? Cart can't progress?


  • Please log in to reply
4 replies to this topic

#1 scythe000

scythe000
  • Members
  • 90 posts

Posted 14 April 2012 - 06:21 AM

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!

#2 scythe000

scythe000
  • Members
  • 90 posts

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 scythe000

scythe000
  • Members
  • 90 posts

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 Al

Al
  • Staff
  • 4,435 posts

Posted 16 April 2012 - 03:25 PM

Thanks for letting us know about this. We have removed that line from the next release.

#5 scythe000

scythe000
  • Members
  • 90 posts

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