Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: USPS - Question about getting this to work

  1. #1
    mc9000 is offline Member
    Join Date
    Aug 2007
    Posts
    83

    Default USPS - Question about getting this to work

    Is there a trick to getting the USPS to work as a shipper in the 64bit ML version of storefront?
    I've been given a login and password to USPS's Web Tools, but no matter what I put in, I always get a "not authorized" message.
    I also noticed that there is no password setting in the appconfig (though it looks like their API dll only uses the login ID).
    Which login ID are they looking for?
    Are the Web Tools not the correct service?

    Here is an excerpt from the email they sent me:

    "Your Web Tools User ID, shown above, is required to test and integrate USPS Web Tools APIs. With this ID, you may begin sending calls to the test server. Depending on the API, the address to the test server is either http://testing.shippingapis.com/ShippingAPITest.dll or https://secure.shippingapis.com/ShippingAPITest.dll. Use this information in combination with your User ID and your XML string to send a request to the USPS servers. For more details, refer to the programming guides (located at http://www.usps.com/webtools) for the specific API you are integrating.

    A sample test request would look like: "http://testing.shippingapis.com/ShippingAPITest.dll?API=[API_Name]&XML=[XML_String_containing_User_ID]"

    When you have completed your testing, email the USPS Internet Customer Care Center (ICCC). They will switch your profile to allow you access to the production server and will provide you with the production URLs
    "

    I verified that the correct uri is in the AppConfig. Is there another configuration I'm missing? FedEx and UPS work just fine and return the correct rates every time.

    (hair pulling)

  2. #2
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    You need to
    ...email the USPS Internet Customer Care Center (ICCC). They will switch your profile to allow you access to the production server...
    so your account is live. We use the live server information, so as long as your account is in test mode it won't work.

    You can just tell them that you're using a 3rd party app that has already been tested and they'll do that.