Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

USPS METHODS NOT WORKING?


44 replies to this topic

#21 twocats_us

  • Community Member
  • 35 posts
  • Real Name:twocats

Posted 23 January 2012, 20:08

@FoundSoul What version of the USPS module are you using? I have an old version and I tried to change that setting that to Parcel** and just Parcel but it still does not work for me. I am afraid I need to completely uninstall and reinstall to the newest version. But I have an odd problem, when I try to change the setting in the admin they do not save.

#22 twocats_us

  • Community Member
  • 35 posts
  • Real Name:twocats

Posted 23 January 2012, 20:13

View PostFoundSoul, on 23 January 2012, 15:21, said:

Fixed it. Keep in mind my shipping module is pretty heavily modified, but hopefully this will help you find what you need to change. For me it was a single line in /catalog/includes/modules/shipping/usps.php

						
	  //INTERNATIONAL MAIL OPTIONS
	  //Change the values to the option you would like
	  //FIRST CLASS MAIL INTERNATIONAL OPTION:
	  $this->FirstClassIntType = 'Package**';  //OPTIONS: 'Letters', 'Package', 'Large Envelope'
	  //PRIORITY FLAT-RATE BOX INTERNATIONAL OPTION:
	 // $this->PriorityFlatRateBoxType = 'Medium Flat Rate Box';  // Commented out and allowing admin to select which to displayOPTIONS: 'Small Flat Rate Box', 'Medium Flat Rate Box', Large Flat Rate Box						  

was changed to

						
	  //INTERNATIONAL MAIL OPTIONS
	  //Change the values to the option you would like
	  //FIRST CLASS MAIL INTERNATIONAL OPTION:
	  $this->FirstClassIntType = 'Parcel**';  //OPTIONS: 'Letters', 'Package', 'Large Envelope'
	  //PRIORITY FLAT-RATE BOX INTERNATIONAL OPTION:
	 // $this->PriorityFlatRateBoxType = 'Medium Flat Rate Box';  // Commented out and allowing admin to select which to displayOPTIONS: 'Small Flat Rate Box', 'Medium Flat Rate Box', Large Flat Rate Box						  

I got it working finally but I had to additionally change this line:
'First Class Mail Int Package' => 'First-Class Mail International Package**' TO 'First Class Mail Int Package' => 'First-Class Mail International Parcel**'

#23 grimalkin

  • Community Member
  • 13 posts
  • Real Name:Todd Meister

Posted 23 January 2012, 20:31

That fix seemed to have worked for me. I'm super un-stoked at how the USPS changes one string every year to initiate another emergency for those who use their API.

#24 FoundSoul

  • Community Member
  • 32 posts
  • Real Name:Jerry Hoffmann
  • Location:Duluth, GA 30097. USA

Posted 23 January 2012, 20:34

I'm actually running CRE Loaded's v3.8 module, though it's been pretty heavily worked over by my PHP guy to add some functionality so I'm not sure how 'stock' it is anymore.

CRE's forums pretty much suck so I came here knowing you guys would have the same problem and a very similar solution. I figured I'd either find help, or end up digging in until I found the problem and could then help others ;).

I started with OSC about 7 years ago, then went to CRE and have been running that for 5 years or so. Pretty sure when it comes time to upgrade again I'll be looking for another cart solution. MIght even look back here and see what the latest is... CRE's biggest problem is they're total lack of care for their customer, and the dead forums don't help much.

Edited by FoundSoul, 23 January 2012, 20:34.

Jerry a.k.a. 'FoundSoul'

#25 alancwade

  • Community Member
  • 99 posts
  • Real Name:Alan Wade
  • Gender:Male
  • Location:California

Posted 23 January 2012, 22:00

A quick fix for me, can be found here in the USPS Methods thread: http://forums.oscommerce.com/topic/146950-contribution-usps-methods/page__view__findpost__p__1619768
osCommerce V2.2 RC2a
PHP Version 5.1.6
MySQL Version 5.0.27
VPS box

#26 srobonsai

  • Community Member
  • 1 posts
  • Real Name:Sandy Racinski

Posted 25 January 2012, 04:08

I am having trouble with a Canadian Customer getting an error with the USPS method not letting her get the shipping rates. Can't seem to bypass. Guess I will have to calculate price and send quote. Can't get to past the error to the credit card screen though.

Is there some software update to run? The USPS Intl options don't look like they have the right names or updating pricing... I jus started using jan 1 so I am new to this!

Thx!

#27 krdito

  • Community Member
  • 47 posts
  • Real Name:Krdito
  • Gender:Female

Posted 25 January 2012, 11:43

My USPS has worked fine since the rate changes (although I don't offer First Class International), but the rates are higher than what is quoted from the usps website. I removed my handling fee, and the rates are still $3 or so more than they should be for Priority, Parcel Post, and Express Mail. Is anyone else seeing this? Not sure how to fix it....guess I may just have a $3 handling fee from here on out - LOL! My handling fee used to be only $1. $3 seems excessive, so I would like to fix it if there is anything that can be done on my end.

#28 alancwade

  • Community Member
  • 99 posts
  • Real Name:Alan Wade
  • Gender:Male
  • Location:California

Posted 25 January 2012, 18:38

This thread is for USPS Methods contribution but not the original. The following URL will take you to the original or contribution thread: http://forums.oscommerce.com/topic/146950-contribution-usps-methods/

View Postsrobonsai, on 25 January 2012, 04:08, said:

I am having trouble with a Canadian Customer getting an error with the USPS method not letting her get the shipping rates. Can't seem to bypass. Guess I will have to calculate price and send quote. Can't get to past the error to the credit card screen though.

I assume your problem began 1/22/2012. Start reading from Post #11 of this thread. You may find your problem and answer.

View Postkrdito, on 25 January 2012, 11:43, said:

My USPS has worked fine since the rate changes (although I don't offer First Class International), but the rates are higher than what is quoted from the usps website. I removed my handling fee, and the rates are still $3 or so more than they should be for Priority, Parcel Post, and Express Mail. Is anyone else seeing this? Not sure how to fix it....guess I may just have a $3 handling fee from here on out - LOL! My handling fee used to be only $1. $3 seems excessive, so I would like to fix it if there is anything that can be done on my end.

I assume your problem began 1/22/2012. The day USPS made changes. Your problem sounds similar to mine. Start reading from Post #11 of this thread. You may find your problem and answer.

Edited by alancwade, 25 January 2012, 18:48.

osCommerce V2.2 RC2a
PHP Version 5.1.6
MySQL Version 5.0.27
VPS box

#29 krdito

  • Community Member
  • 47 posts
  • Real Name:Krdito
  • Gender:Female

Posted 25 January 2012, 19:20

So, I finally figured out that the cost of USPS insurance is automatically being added into the shipping cost (despite having a separate area to select insurance), so I disabled the USPS insurance option in my admin panel -> shipping modules.

However, in doing this, I realized that my handling fee is not being charged...so I enabled the insurance again which I suppose is now my handling fee.

So, the problem is really that my handling fee is not being charged for the shipping options I offer (Priority Mail, Express Mail, Parcel Post, and Priority Mail International). Any idea on what I need to change to make my handling fee be charged for each method? Most of the discussion has been around the problems with First Class Mail International, which I don't offer.

Thank you!

#30 alancwade

  • Community Member
  • 99 posts
  • Real Name:Alan Wade
  • Gender:Male
  • Location:California

Posted 26 January 2012, 04:42

View Postkrdito, on 25 January 2012, 19:20, said:

So, the problem is really that my handling fee is not being charged for the shipping options I offer (Priority Mail, Express Mail, Parcel Post, and Priority Mail International). Any idea on what I need to change to make my handling fee be charged for each method? Most of the discussion has been around the problems with First Class Mail International, which I don't offer.

What version of USPS Methods contribution are you using?
osCommerce V2.2 RC2a
PHP Version 5.1.6
MySQL Version 5.0.27
VPS box

#31 krdito

  • Community Member
  • 47 posts
  • Real Name:Krdito
  • Gender:Female

Posted 27 January 2012, 14:35

We just uploaded version 6.0 on January 23rd.

We had received a letter from the USPS late last year, indicating we were using an old version and needed to upgrade. We waited to do so until after the holidays so we didn't have any shipping glitches during our busiest time of the year.

#32 alancwade

  • Community Member
  • 99 posts
  • Real Name:Alan Wade
  • Gender:Male
  • Location:California

Posted 30 January 2012, 18:26

View Postkrdito, on 27 January 2012, 14:35, said:

We just uploaded version 6.0 on January 23rd.

We had received a letter from the USPS late last year, indicating we were using an old version and needed to upgrade. We waited to do so until after the holidays so we didn't have any shipping glitches during our busiest time of the year.

I'm using version 5.2.2 and I do not know about the 6.0 version. I know someone who was using a version a little earlier than 5.2.2 and upgraded to 6.1, but he quickly changed over to 5.2.2 and with some changes as per my posts regarding the USPS Jan 22nd changes, it now works for him. Post #25 in this thread leads you to some of those changes. Whichever, the USPS Methods contribution does need some cleanup work by an expert programmer. It appears someone has updated the 6.1 version in the contributions section of USPS Methods.
osCommerce V2.2 RC2a
PHP Version 5.1.6
MySQL Version 5.0.27
VPS box

#33 fulluvscents

  • Community Member
  • 305 posts
  • Real Name:Jetta
  • Gender:Female
  • Location:Fort Wayne, Indiana

Posted 31 January 2012, 11:48

Just in case anyone is interested, I uploaded a new USPS contribution. It is a VERY simple module, which some of you asked for last year. Essentially, I'm rewriting the code for efficiency, and this is the stripped down version.

The code is clean and efficient, unlike USPS Methods. It includes international and domestic regular, flat rate, and regional options. You choose the options you offer. Other than that, it has no extras.

The new module can be found here:
http://addons.oscommerce.com/info/8327

And I have started a support thread here:
http://forums.oscommerce.com/topic/383307-usps-rate-v4-intl-rate-v2-official-support-thread/

#34 tjwilson

  • Community Member
  • 14 posts
  • Real Name:TJ Wilson
  • Gender:Female
  • Location:Ketchikan, AK

Posted 07 February 2012, 02:21

I'm having problems with the USPS module too, I have osCommerce v.3.0.2. It doesn't work. I submitted a bug report and haven't gotten any response or any solution to the problem. My customers place an order and no shipping is charged at all. The Post Office sent me this letter:

"Your profile has been updated to allow you access to the Production Server. You can now access live rates and other information in your Shopping Cart.

1. The Production Server URL is: http://production.shippingapis.com. For APIs calling the secure server, the URL is https://secure.shippingapis.com.
2. There is a line of code that refers to "shippingapitest.dll". You'll need to remove the word "test".

If you are using third party software and need assistance, please contact the vendor of the software. They should be able to assist you in obtaining live information using our APIs."

The code used for osCommerce's plug-in says:
You will need to have registered an account with USPS at http://www.uspsprioritymail.com/et_regcert.html to use this module.

That URL (http://www.uspsprioritymail.com/et_regcert.html) is no longer valid. I need assistance, according to the post office I should get it from osCommerce, but I've been going round and roung and nothing....

#35 kymation

  • Community Sponsor
  • 5,662 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 07 February 2012, 03:34

osCommerce 3.0.2 is not ready for use. Delete it and install 2.3.1. You also don't need to sign up for an account with the USPS as you already have one.

Regards
Jim
My Addons

Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support

#36 devoidofodors

  • Community Member
  • 7 posts
  • Real Name:Steven
  • Gender:Male
  • Location:Portland

Posted 15 February 2012, 04:04

Anyone who wants the quick fix to USPS First Class Domestic shipping for USPS Methods 6.1, PM me.

#37 devoidofodors

  • Community Member
  • 7 posts
  • Real Name:Steven
  • Gender:Male
  • Location:Portland

Posted 18 February 2012, 01:20

try changing the 'First-Class Mail Parcel' to 'First-Class Package Service' in catalog/includes/modules/shipping/usps.php . You may also need some code in your checkout_confirmation.php file. Use this piece of code on your checkout_payment.php within the <body> tags to see if you're actually getting quotes for First-Class: <?php print_r($quotes) ?>. You can comment it out if you need to with some html comments if need be (then you'll have to check the source code). otherwise, it's show up at the top in plain view for all of your customers to email and worry about.

If anyone needs any help doing this, feel free to PM me. I did 5 osc2.2 sites running USPS methods 6.1 the past week. When this problem started, we called developers who were charging outrageous amounts for the little amount of work they would have done (understandably, this is a pain to deal with). Knowledge is power and some people abuse that.

#38 kb6mcc

  • Community Member
  • 9 posts
  • Real Name:Ken

Posted 26 February 2012, 21:47

Attached File  first-class.jpg   91.03K   14 downloads

I'm using the USPS Methods 6.1b and Domestic First Class not show up but the quote is corrected. see attached image

#39 fqstore

  • Community Member
  • 18 posts
  • Real Name:Don R
  • Gender:Male

Posted 17 March 2012, 03:25

@alancwade

Did you ever get this problem solved. I am having the same problem. flat rates as well as priority is off.

Don

#40 EdHarmon

  • Community Member
  • 3 posts

Posted 29 March 2012, 04:17

Installed 6.1 tonight and I am not seeing Domestic first class options either. I tried to do this fix: 'First-Class Mail Parcel' to 'First-Class Package Service'

but then receive the error message that the Service does not exist and then I lose Express mail and Prioity mail.

Has anyone figured out why first class mail options are not working for domestic? I really want to have the first class mail option for some of my customers.