Guest Posted October 29, 2007 Posted October 29, 2007 Hello friends. I installed the USPS module. The module had me go and apply for a USPS webtools account. After setting up the account I received a confirmation email from USPS with my username and password and with the following directions: 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 can not for the life of me understand how to get this testing done. I have searched around the forums here and can't seem to find the right topic for this particular help. I have tried sending a SQL inquiry with this command: http://testing.shippingapis.com/ShippingAPITest.dll?API=[RateV3]&XML=[myuseridhere] I then get an error message that my syntax is wrong: #1064 - You have an error in your SQL syntax This is all new to me so I'm sure I'm doing some lame n00b thing. I would appreciate any and all direction. The USPS Internet Customer Care Center responded to my email that I sent requesting they switch me to 'production' since that is what I see a lot in the forums here with people saying the USPS module is not working the solution is always 'switching' to production. Their email said: In order to be moved to production, you will need to reply to this email and provide the following information, please: - Whether you are self programming your page or using third party software - If self programming, a minimum of two successful tests must be completed - If using third party software, the name of the software package - Which APIs you wish to use Thank you again.
Gauravs Posted October 29, 2007 Posted October 29, 2007 A sample test request would look like: "http://testing.shippingapis.com/ShippingAPITest.dll?API=[API_Name]&XML=[xml_String_containing_User_ID]" I have tried sending a SQL inquiry with this command: http://testing.shippingapis.com/ShippingAPITest.dll?API=[RateV3]&XML=[myuseridhere] I then get an error message that my syntax is wrong: #1064 - You have an error in your SQL syntax Not sure where does SQL come in picture, that confuses me. simple things to do for USPS a. Login to Admin b. Install USPS module c. Enter correct values as you have received in your email for USPS (username as per email/ password can by ANYTHING) d. Check TEST (for USPS Server) e. Go to your cart and try checkout. f. Does USPS display options or Errors? If errors, you would have to dig in the code I am afraid. Thanks Gaurav Best Regards,Gaurav
Guest Posted October 29, 2007 Posted October 29, 2007 This is all new to me so I'm sure I'm doing some lame n00b thing. I would appreciate any and all direction. The USPS Internet Customer Care Center responded to my email that I sent requesting they switch me to 'production' since that is what I see a lot in the forums here with people saying the USPS module is not working the solution is always 'switching' to production. Their email said: In order to be moved to production, you will need to reply to this email and provide the following information, please: - Whether you are self programming your page or using third party software - If self programming, a minimum of two successful tests must be completed - If using third party software, the name of the software package - Which APIs you wish to use Thank you again. This is all new to me too, but I just got mine functioning this morning. You need to have it moved to production (I couldn't get anything to work in test mode). When I called this morning, I gave them my name, and account name. Then told them to move it to production. Then told them I am using OS Commerce. I was a little confused on the API question and not sure what they are looking for there. Maybe someone can shed some light on that one. I told the support guy that I needed my cart to calculate the shipping costs for shipping. (maybe he was looking for types of shipping? express, first class, etc??) in any case he told me it was active, and checking it on my site verified that it works now, although it is not showing prices for priority shipping. (maybe he didn't activate that one..) but it works for 1st class and express. hope this helps, -Mike
Guest Posted October 29, 2007 Posted October 29, 2007 Thank you all for the input. I sent an email to USPS: "I am using OSCommerce and on the support forums everyone is saying to contact you to have my account activated or ‘switched to production’. Apparently I have been trying to send ‘test’ requests without success. Other people who have called or contacted USPS about this have had their accounts turned over to production and everything works as long as they are running OSCommerce software. I do hope this is true." Within an hour I received an email telling me I was switched to production. I then went and tested and everything is working except the shipping weight not being reported correctly which I started another thread on that. http://www.oscommerce.com/forums/index.php?sho...=281642&st= Again, thank you.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.