HELP PLS - USPS Extension - not working - as Sept 7 API has update

Started by llegrand, September 08, 2014, 10:23:09 PM

Previous topic - Next topic

llegrand

According to the USPS site on Sept 7 there are some changes and an API retirement.  Can you please check to see if the current version of the USPS extension needs to be updated to the new requirements?  Here's the staring link to get to the document for the changes.

https://www.usps.com/business/web-tools-apis/welcome.htm?

I just checked on my sites,  and my extension is not working now either.  Ollie  was posting that he was having issues and getting the correct API credentials did not solve the issue and I am thinking this change in the API at USPS is the issue.

Thanks
Lee

abantecart

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

abolabo

Hello llegrand.

To solve this issue please replace file public_html/extensions/default_usps/storefront/model/extension/default_usps.php
Then go to https://secure.shippingapis.com/registration/ and take new credentials for your cart.
After finish look new ID and pass in email from them.
Just change it in USPS extension settings and let us know about result.

"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

llegrand

I ftp'd in the new file after renaming the exisiting one. Can't get to the USPS set up screen.


Shipping Admin panel has this notice and has no way to "install" the extension. See screen shot for my aPanel.

"Extension default_usps:  Source can not be located! Please delete it and visit extention provider to get complete source and intall it again "

app warnings:

default_usps directory is missing in /home/countrys/public_html/test/core/engine/extensions.php on line 279

abolabo

please, never rename folders inside extensions directory..

Rename it back and replace only one file (see attachment in my post above)
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

llegrand

Sorry,  I replaced the file in the wrong place  the first time.  My error.

Ok,  I am pleased to report that the USPS extension is working correctly.   I have added the new file on all of my working sites, and they are good now.

I did not have to obtain a new credential - the existing one I had from a couple of months ago is assigned to the new production server at USPS.

Thank for getting this new extension out ASAP. 

One question -  will that fix need to be made for all future installations of 1.1.9 as I have more sites to bring up.

Lee

abolabo

..applied after upgrade up to 1.1.9 ? not sure...need to check..don't remember
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

names

Just for anyone's FYI

This patch IS still needed on  1.1.9

At least he softcalc install I got.
Our business in life is not to get ahead of other people, but to get ahead of ourselves.

tnt170

Hey guys I have entered my API User name and password even called to confirm that it was in production mode instead of test mode with USPS. I have also replaced the default usps php and it is still saying (API Authorization failure. RateV4 is not a valid API name for this protocol.)

llegrand

https://secure.shippingapis.com/registration/

Did you get your api at this location?  The Instructions in the Abantecart Documention remain incorrect for the latest USPS configurations.

A USPS shipper account id will not work in the extension.

Let us know if this was the fix or if you still need help.

Lee



tnt170

Yes that's what I did, I called usps gave them my web tools user name and they advised me everything on their end is in production mode and functioning correctly. 

tnt170


llegrand

did you install the file that is listed above by abalano?   It is the fix for rate4.   Once I installed that,  I've had no issues since.

What version of abantecarte are you working on?


tnt170


Agiliteesgal

I know I'm a little late on this, but I do need to update my USPS api extension to V.4. The secure shipping link mentioned above gives the following error message:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Number>80040B18</Number>
<Description>
An error has occurred with the service. Please contact the system administrator, or try again.
</Description>
<Source>USPSCom::DoAuth</Source>
</Error>

Can anyone help me with this? I have not kept up with all the updates--as I know I will probably break my site by trying to doing so. (Actually, I already did and had to have it restored.) So I'm hoping to update the USPS api without having to install any updates.

Forum Rules Code of conduct
AbanteCart.com 2010 -