Welcome, Guest. Please login or register.
Login with username, password and session length


It's a release candidate! VirtueMart 2.0 RC - the next generation VirtueMart - is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: USPS Shipping Module  (Read 7414 times)
Computerworks
Newbie
*
Posts: 3


« on: November 29, 2005, 23:09:00 PM »

I have scanned the old posts on the USPS and UPS shipping modules config problems.. and have not found any info to help get them working.
(I am a little distressed to see so many dead threads without resolution.)

Let's start with USPS...

...got my USPS shipping username...set up the parameters for the Testing server...
..walked thru a sample order...got to the shipping page...

Ther standard default shipping methods appear, but at the bottom we get:

"Error: <span class="message">USPS was not able to process the Shipping Rate Request.</span><br/>Error Code: -2147219040<br/>Error Description: This Information has not been included in this Test Server.<br/>

Now what?  Grin

I have posted this, while I go thru the doc from USPS to see if I can find Error codes, etc.

This and the UPS module should have some more documentation.  Undecided
« Last Edit: November 29, 2005, 23:16:24 PM by Computerworks » Logged
Computerworks
Newbie
*
Posts: 3


« Reply #1 on: December 02, 2005, 07:39:11 AM »

Just an update here... in case this info can help someone else.  Wink

We continued to test the USPS Shipping and Rate calc, with our account in the testing mode. We were NEVER able to get a successful rate response from the testing server.

We referred to the Doc from USPS...

http://www.usps.com/webtools/htm/Rates-Calculatorsv1-0.htm

with respect to correct syntax, etc., and could find no problems with the info we had entered into the Shipping module config page.

We then took the first sample from the USPS doc and manually posted the XML to their test server...and got a GOOD reply with rates for the first time.  Cheesy

Long story short.. it appears that their Testing server will ONLY reply to the two sample XML tests in their manual...and NOTHING MORE... if you change anything... it replies with errors.

Here are the two test samples:

Test Request #1

     
          PRIORITY
          10022
          20008
          10
          5
          Flat Rate Box
          REGULAR
     


Test Request #2


          All
          10022
          20008
          10
          5
          LARGE
          TRUE
     


Once we knew it worked, we requested a change to the Production server and tried it live... with Priority as the service and Flat Rate Box as the container.

We got nothing but errors, no matter what the size or weight was.
FINALLY, we changed the Container to 0-1095, since we saw that in the code sample....and it worked!

NO WHERE in the USPS doc does it list numerical references to standard containers. We are waiting to talk to USPS techs on this item.

A web search turned up this info from an osCommerce discussion...


//Services   : EXPRESS, PRIORITY, PARCEL
    //Zip codes  : 5 digits only
    //Containers :
    /*    Express Mail
            None                    For someone using their own package
            0-1093 Express Mail        Box, 12.25 x 15.5 x
            0-1094 Express Mail        Tube, 36 x 6
            EP13A  Express Mail        Cardboard Envelope, 12.5 x 9.5
            EP13C  Express Mail        Tyvek Envelope, 12.5 x 15.5
            EP13F  Express Mail        Flat Rate Envelope, 12.5 x 9.5

        Priority Mail
            None                    For someone using their own package
            0-1095 Priority Mail    Box, 12.25 x 15.5 x 3
            0-1096 Priority Mail    Video, 8.25 x 5.25 x 1.5
            0-1097 Priority Mail    Box, 11.25 x 14 x 2.25
            0-1098 Priority Mail    Tube, 6 x 38
            EP14   Priority Mail    Tyvek Envelope, 12.5 x 15.5
            EP14F  Priority Mail    Flat Rate Envelope, 12.5 x 9.5

        Parcel Post
            None                    For someone using their own package */

     //Size :  REGULAR  (L+W < 84")         EXPRESS PRIORITY PARCEL
    //        LARGE    (84"  < L+W < 108") EXPRESS PRIORITY PARCEL
    //        OVERSIZE (108" < L+W < 130") PARCEL

    //Machinable : required for PARCEL only and is TRUE or FALSE

Apparently...THESE container name are the ones to use... to make it actually work!

Hope this log of troubleshooting helps.
Logged
shunx91
Newbie
*
Posts: 3


« Reply #2 on: December 19, 2005, 14:46:15 PM »

HI Computerworks,

Sorry but I'm not as tech savvy as you are.  Right now UPS works perfectly fine for me and I have no compliants about it.  However, I cannot get both UPS and USPS to work correctly.  THe international shipping rate is SO EXPENSIVE for UPS and I feel like we're losing some customers because of it.  Any advise?

Tim
Logged
rightminddesigns
Full Member
***
Posts: 111


« Reply #3 on: January 24, 2006, 11:27:35 AM »

A web search turned up this info from an osCommerce discussion...


//Services   : EXPRESS, PRIORITY, PARCEL
    //Zip codes  : 5 digits only
    //Containers :
    /*    Express Mail
            None                    For someone using their own package
            0-1093 Express Mail        Box, 12.25 x 15.5 x
            0-1094 Express Mail        Tube, 36 x 6
            EP13A  Express Mail        Cardboard Envelope, 12.5 x 9.5
            EP13C  Express Mail        Tyvek Envelope, 12.5 x 15.5
            EP13F  Express Mail        Flat Rate Envelope, 12.5 x 9.5

        Priority Mail
            None                    For someone using their own package
            0-1095 Priority Mail    Box, 12.25 x 15.5 x 3
            0-1096 Priority Mail    Video, 8.25 x 5.25 x 1.5
            0-1097 Priority Mail    Box, 11.25 x 14 x 2.25
            0-1098 Priority Mail    Tube, 6 x 38
            EP14   Priority Mail    Tyvek Envelope, 12.5 x 15.5
            EP14F  Priority Mail    Flat Rate Envelope, 12.5 x 9.5

        Parcel Post
            None                    For someone using their own package */

     //Size :  REGULAR  (L+W < 84")         EXPRESS PRIORITY PARCEL
    //        LARGE    (84"  < L+W < 108") EXPRESS PRIORITY PARCEL
    //        OVERSIZE (108" < L+W < 130") PARCEL

    //Machinable : required for PARCEL only and is TRUE or FALSE

Apparently...THESE container name are the ones to use... to make it actually work!

Hope this log of troubleshooting helps.

Here is a direct link to the info on the USPS web site, just in case they ever make changes to the package numbers: http://www.quikstore.com/USPS_Setup.html
Logged
bugsmi0
Newbie
*
Posts: 43


« Reply #4 on: March 07, 2006, 19:20:12 PM »

how does this work ?
Logged
weatherangel
Newbie
*
Posts: 36


Just another geek doing the greater good...


WWW
« Reply #5 on: March 11, 2006, 03:12:30 AM »

Just an update here... in case this info can help someone else.  Wink

We continued to test the USPS Shipping and Rate calc, with our account in the testing mode. We were NEVER able to get a successful rate response from the testing server.
...
Hope this log of troubleshooting helps.

I went through some of your information and was still having problems.  I put my debug information here: http://virtuemart.net/index.php?option=com_smf&Itemid=71&topic=16008.0 ... Long story short though, I did get the tests working however in their documentation they even state that you should hardcode the XML.  I think what they're really looking for is a good connection to the server, etc.

In my case, I'm now using the RateV2Request and had to make code changes to accomadate the new XML.  The new code is linked to the above thread.

I've been fighting for so long, this is a huge win for me Smiley
Logged
Pages: [1]   Go Up
Print
Jump to: