Jump to content

XML ERROR for ZIP CODES


djcaseanova

Recommended Posts

I just recently discovered an error with zip codes.

Here is the error message I received from a customer:

Request XML:

<RateV2Request USERID="5LADYS62" PASSWORD="o"><Package ID="0"><Service>PRIORITY</Service><ZipOrigination>77450</ZipOrigination><ZipDestination>77450-1234</ZipDestination><Pounds>0</Pounds><Ounces>1</Ounces><Container>Flat Rate Envelope</Container><Size>Regular</Size></Package></RateV2Request>Return XML:<?xml version="1.0"?>

Response XML:

<RateV2Response><Package ID="0"><Error><Number>-2147219497</Number><Source>DomesticRatesV2;RateEngineV2.ProcessRequest</Source><Description>Please enter a valid ZIP Code for the recipient. </Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error></Package></RateV2Response>

Now, I created a test account with a zip code 90210-1234 and discovered the problem is the "-1234" portion. When it is removed, the error stops and processes the order like normal. before then, the order is not placed and that error message is displayed.

Is there a fix for this error as I do not want to lose impatient customers because they added their entire zip and post office codes?? Thanks!!

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...