Jump to content
fulluvscents

USPS Rate V4, Intl Rate V2 (official support thread)

Recommended Posts

httpClient is stock osCommerce (includes/classes/http_client.php). I don't know why that wouldn't be working. Did you make some other changes that would have disabled that class, or removed the instantiation?

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

only mods i made are in the read me to includes/application_top.php and admin/modules.php. rest of this site is brand new. no other script changes made to any other file

Share this post


Link to post
Share on other sites

Check that this line is in checkout_shipping.php (line 14 in a stock copy)

 

 require('includes/classes/http_client.php');

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Then the class is there. Maybe it's a problem with your version of PHP. Sorry, I can't think of any other reason right now.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

I know this works on PHP 5.2. Are you saying you changed it to 5.4 and now it doesn't work?

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

no origanlly on 5.2, tested with 5.4 and had more errors so i switched back to 5.2. think my issues from upgrading from 2.3.1 up to 2.3.3.4 without using the full install, but just the update files.

So I wiped it all out used the full installer for 2.3.3.4 and have started re-installing this module. no longer getting errors but at the sametime no shipping options is showing up on the site. my info is saved ok in the config, so right now I'm lost. I tried using the modules.php in files to modify with and without the modifications in the readme. dunno which way it should be but my info saves after i mod the file from the readme. any suggestions would be a big help. Thanks.

Share this post


Link to post
Share on other sites

Then open includes/modules/shipping/usps.php in a text editor and uncomment this line:

 

    // mail( STORE_OWNER_EMAIL_ADDRESS, STORE_OWNER, $mail_body );

 

Then run a test order. You will get an email with the response from the USPS. If you can't figure that out, post it here in a code block and we'll take a look.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

On May 12 2014, USPS announced that it was retiring the RateV3 API later this year (target date: September 28, 2014). I'm hoping that this doesn't affect us at all. We're using USPS Methods 6.3.1, and when I've captured some of the XML exchanges with the USPS servers, I see tons of tags like <RateV4Response>. I'm hoping that means that we're already using V4 of the API, and as such don't care about V3 going away. But I'm not sure (most suspiciously, the version history of USPS Methods notes the change to V3 (at version 4.0 of the module) but never a change to V4 of the API. If someone could confirm that the "V4" used in communications with the USPS represents "USPS API Version 4", I'd rest easier.

 

Thanks in advance,

 

David

Share this post


Link to post
Share on other sites

Yes, that means that you're using V4 of the API. You should not have to worry about that.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Hello,

 

I'm looking for the add-on for the USPS Methods 6.3.1 as talked about in the post previously posted here. can someone post the link to it?

 

Thank You

Share this post


Link to post
Share on other sites

Been fighting this all weekend till now. For some reason V4 is not allowing my USPS userid. I have been on the phone with them for two days now and they say my account is in fact working on their end but when I put the key in and save it comes back to none. Anyone have a clue what is going on with this mod ?

Share this post


Link to post
Share on other sites

Are you saying that the module does not save the value? That could be an error in admin/modules.php. Check your changes carefully. I suggest comparing it against the one in the Addon package you downloaded, or just use the file from the addon package.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

I reinstalled the new addon a bit ago and still the same thing. Yes when I put my ID in and click save it does not save anything I do in it. I just installed Oscom this weekend and got everything working cept the USPS mod.

Share this post


Link to post
Share on other sites

What version of osCommerce did you install? What other changes have been made (other than USPS)?

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Oscomm v2.3.4 no other changes been made other then securing the the files as stated in help files online.

Share this post


Link to post
Share on other sites

From a 2008 post that was made in live chat few mins ago where this guy posted he went into his USPS

 

"update my includes/modules/shipping/usps.php. It had NONE 'hardcoded' in there. Around line 235, I changed it to my userid, deactivated the usps module in admin>modules>shipping>usps"

 

I just done this and it now shows my id but still not saving anything I add for shipping..

Share this post


Link to post
Share on other sites

Even when I tell it false to not use this mod and save it... When I come back it is back on true.. so nothing is saving for me at all.

Share this post


Link to post
Share on other sites

I have no idea what you are talking about. There is no "NONE" on line 135 or anywhere near that. Go download the module from here and install it. Uninstall and get rid of whatever nonsense you have installed first.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

This is the same mod I installed yesterday and again this morning. I will try it again... Thanks for the help.

Share this post


Link to post
Share on other sites

Go look in your database. Search the configuration table for a configuration_key like MODULE_SHIPPING_USPS_%. You should get 12 results. If there are more, look for duplicates and remove the extras.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×