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 12 of 12

Thread: need help with integrating USPS

  1. #1
    harsha.gus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    301

    Exclamation need help with integrating USPS

    I did all that we can find in Manual.
    but USPS is not working.

    I appreciate if some one can help me with this.

    thanks a lot.
    rbgx
    AspDotNetStorefront ML
    v8.0.1.4

  2. #2
    lambrite is offline Senior Member
    Join Date
    Jun 2007
    Posts
    116

    Default Same type of problem

    version AspDotNetStorefront ML 9.0.1.3/9.0.1.2

    I am also having this problem. On debugging, I saw that the service response was an authorization failure. I also saw that the call sends the value of the appConfig RTShipping.USPS.Password. My appconfigs did not have this key, so I added it. Ran debug again, and saw that the password was still blank (suspect caching) so populated the password in runtime and double-checked the username.

    I still get the authorization error, so I went to their webtools site to try to run a test. Calls to their test API worked; calls to the production API that ASPDNSF uses did not. I have emailed USPS. I think that the password is essentially unnecessary (it's not in the docs for webtools), but it was worth the try.
    Last edited by lambrite; 06-23-2010 at 11:55 AM.

  3. #3
    harsha.gus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    301

    Exclamation not even till there

    for me it is not even going till authorization.

    xml dump shows blank usps tags
    no user id or password.

    not able to understand, whats wrong with usps integration.
    i am wondering if this usps is working for any one else
    rbgx
    AspDotNetStorefront ML
    v8.0.1.4

  4. #4
    Sharona's Avatar
    Sharona is offline Member
    Join Date
    Jun 2006
    Posts
    41

    Default

    Getting this error then I click the "validate edited address" in the customer's profile

    Error: uspsValidate does not exist.

    I have tried all three VerifyAddressesProvider.USPS.Server

    https://secure.shippingapis.com/ShippingAPITest.dll
    http://production.shippingapis.com/shippingapi.dll
    http://testing.shippingapis.com/shippingapi.dll

  5. #5
    harsha.gus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    301

    Wink aspdotnetstorefront

    I wish someone form aspdotnet store front look in to this issue and help us with some sort of guidelines.
    rbgx
    AspDotNetStorefront ML
    v8.0.1.4

  6. #6
    harsha.gus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    301

    Exclamation any help

    Can we expect any help form this forum.
    really having a hard time in integrating USPS.
    rbgx
    AspDotNetStorefront ML
    v8.0.1.4

  7. #7
    ZachJ85 is offline Senior Member
    Join Date
    Apr 2010
    Location
    Philadelphia, PA
    Posts
    99

    Default

    I assume you're using RTShipping? I used my test site and just configured USPS.. I configured the origin address, I set my username and password and I set my activecarrier to USPS and I was returning information fine.

    Do you have the source code for storefront? While waiting for help from the support I recommend debugging and placing a breakpoint right before it calls for shipping. This way you can see why your username/password is blank.
    SQL 2008, Visual Studio 2010
    Source: C#
    Version: AspDotNetStorefront ML 8.0.1.1/8.0.1.1
    Framework: .Net 4.0 (Running)

  8. #8
    harsha.gus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    301

    Exclamation more information

    can you please give me more information on how to debug it.

    i haven't worked on code yet.

    could you tell me, which file do i have to edit.
    and what exactly i have to do to find the error.
    rbgx
    AspDotNetStorefront ML
    v8.0.1.4

  9. #9
    harsha.gus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    301

    Exclamation USPS response

    This is the response i get, when i enable USPS


    HTML Code:
    <roottag_justaddedfordisplayonthispage>
      <USPSResponse>
        <Error>
          <Number>80040b1a</Number>
          <Description>Authorization failure.  You are not authorized to connect to this server.</Description>
          <Source>UspsCom::DoAuth</Source>
        </Error>
      </USPSResponse>
      <UPSResponse>
      </UPSResponse>
    </roottag_justaddedfordisplayonthispage>
    rbgx
    AspDotNetStorefront ML
    v8.0.1.4

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

    Default

    We've answered this for you here before, and it's also covered here in the online manual :

    1. Obtain access to the USPS Web Tools (http://www.usps.com/webtools/) by clicking the "Sign Up" link, and submitting your information.

    2. When USPS emails your Username, you have access to their Test servers-only. Reply to their email, explain that you are using an off-the-shelf storefront (AspDotNetStorefront), and need access to their Production servers.

    3. Wait for the confirmation email from USPS before proceeding. Once they grant you access to their Production servers, you can finish the following steps.
    You need to contact USPS and have them activate your account, right now it's still in 'test' mode, so they'll only accept requests for very specific information. It actually says all of this in the initial 'new account' email you got from USPS as well.

  11. #11
    harsha.gus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    301

    Exclamation thanks

    Yes, I just realized the last step yesterday.

    Thanks a lot for your time.
    rbgx
    AspDotNetStorefront ML
    v8.0.1.4

  12. #12
    harsha.gus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    301

    Exclamation Finally got it - but?

    Finally got the USPS working.
    that was my mistake, most of us are missing to contact USPS to move our account to production site.

    ok apart from the above.

    I have a question.
    now i have UPS and USPS in my website.
    is there any way i can differentiate USPS and UPS services as two groups with some sort of Title for group.

    If not at least rename USPS options with a word USPS at the beginning of all USPS options

    thanks for all your time.
    rbgx
    AspDotNetStorefront ML
    v8.0.1.4