Post by Rainforest » Sat Jan 07, 2012 1:59 am

I just received this email from USPS. I'm wondering if this will affect the opencart module


###

Web Tools integrator;

On January 22, 2012, USPS will update domestic shipping services and international pricing and product features. For detailed information on prices and new product features, please reference the Federal Register Notices viewable at http://pe.usps.com/.

Price Change updates will be available in the Web Tools testing environment for integrator access on or around January 6, 2012. The test environment can be accessed, using your production UserID, via the following URL scheme, host and path:
Secure APIs: https://stg-secure.shippingapis.com/ShippingApi.dll
Non-secure APIs: http://stg-production.shippingapis.com/ShippingApi.dll

Please note that the changes below are intended to be backwards compatible, however, may not be depending on how individual programs are integrated with the APIs.

Web Tools APIs will be affected in the following manner:
• All Web Tools APIs with postage prices incorporated will be updated to reflect the price changes;
• Domestic Rate Calculator API Changes:
o New <Container> request enumerations added to RateV4 to support the USPS product offerings and prices listed in the Federal Register Notice:
 FLAT RATE BOX (Express Mail Flat Rate Box),
 REGIONALRATEBOXC (Priority Mail Regional Rate Box C);
o New <FirstClassMailType> request enumeration added to RateV4:
 PACKAGE SERVICE;
o Optional <ReturnServiceInfo> tag added to RateV4 to return “Loss Guarantee Only” commitment information when an Express Mail Commitment is requested to certain destinations
o First-Class Mail Package <MailService> response values updated in RateV3 and RateV4 as follows:
 Postage CLASSID="0" - Retail Pricing
<MailService>First-Class Mail® Package</MailService> will become:
<MailService>First-Class Mail® Parcel</MailService>,
 Postage CLASSID="61" - Commercial Pricing
<MailService>First-Class Mail® Package</MailService> will become:
<MailService>First-Class Mail® Package Service</MailService>;
o New response nodes in RateV3 and RateV4 to support the USPS product offerings and prices listed in the Federal Register Notice (Express Mail Flat Rate Box and Priority Mail Regional Rate Box C, specifically);
o Rate and RateV2 responses will be modified to:
 Return trademarked product names,
 Enforce dimensional requirements through error messaging for large, oversize and S-restricted destinations.
• All Rate Calculator API integrators are encouraged to migrate to the latest API versions (RateV4, IntlRateV2):
o Rate and RateV2 versions of the domestic Rate Calculator will be retired on March 31, 2012, requiring all integrators to migrate to the latest versions;
• International Rate Calculator API:
o New response nodes in IntlRate and IntlRateV2 to support the USPS product offerings and prices listed in the Federal Register Notice (Express Mail Flat Rate Box, specifically);
• Express Mail Label and Hold For Pickup Express APIs:
o New <Container> request data tags to support the Express Mail Flat Rate Box;
 FLAT RATE BOX
• Delivery Confirmation and Signature Confirmation APIs:
o New <Container> request data tags to support the Priority Mail Regional Rate Box C;
 REGIONALRATEBOXC
• Express Mail International API:
o New <Container> request data tags to support the Express Mail Flat Rate Box:
 FLATRATEBOX.

Please contact the USPS Internet Customer Care Center with any questions or concerns at 1-800-344-7779 or uspstechsupport@esecurecare.net.

- Web Tools Program Office

Self Taught Opencart User & Developer Since 2010.


User avatar
Active Member

Posts

Joined
Fri Jan 28, 2011 3:50 am

Post by mamacass » Tue Jan 10, 2012 12:28 am

I have the same question regarding the updates coming from USPS.....

Newbie

Posts

Joined
Thu Oct 07, 2010 1:38 am

Post by Qphoria » Tue Jan 10, 2012 12:50 am

From what I can see the only change that should affect anything immediately is the firstclass name of:

Code: Select all

First-Class Mail Package
changing to

Code: Select all

First-Class Mail Parcel
I will take care of it for the next version.
For now you can

1. EDIT: catalog/model/shipping/usps.php

2. FIND:

Code: Select all

First-Class Mail Package
3. REPLACE WITH:

Code: Select all

First-Class Mail Parcel
Tested and working.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by mamacass » Tue Jan 10, 2012 1:20 am

Great! Thanks for taking such good care of us, Q!

Newbie

Posts

Joined
Thu Oct 07, 2010 1:38 am

Post by Rainforest » Tue Jan 10, 2012 7:21 pm

Yes, thank you!
Happy new year!

Self Taught Opencart User & Developer Since 2010.


User avatar
Active Member

Posts

Joined
Fri Jan 28, 2011 3:50 am

Post by miradoro » Fri Feb 03, 2012 3:14 am

Hi

i just noticed that a 3 day shipping option on my cart was quoted at $18 but in reality it was $20.5
Will the update suggested above will fix this problem i have? i am using version 1.4.9.4

Please advice

New member

Posts

Joined
Tue May 03, 2011 9:43 pm

Post by admin28 » Sat Feb 18, 2012 10:51 am

I tried the above fix on my 1.5.1.3 server, but "First-Class Mail Parcel" doesn't show up in menu Extensions/Shipping/USPS, and in fact the old "First-Class Mail Package" still appears. I verified the code change in usps.php on the server. I'm probably missing something simple, but just doing the above change as instructed didn't have an effect. Any ideas? Thanks.

UPDATE: I solved the problem by searching for other usps.php files, and found that I also needed to make the above change to the usps.php file in my /shop/my admin ID/language/english/usps.php. After that change, it started working.

I changed this (line 8 in my file):

Code: Select all

$_['text_domestic_00']      = 'First-Class Mail Package';
To this:

Code: Select all

$_['text_domestic_00']      = 'First-Class Mail Parcel';
Was it just me who had to make this additional change? Glad to have it working again.

Newbie

Posts

Joined
Sat Feb 18, 2012 10:35 am

Post by Bg-foxx » Mon Mar 05, 2012 12:16 am

I changed both files from the recommendations above and First Class Mail still doesn't show on my checkout page although it's checkmarked in the admin system. Only Priority and Express Mail show.

Where should I look next? Thanks.

New member

Posts

Joined
Wed Feb 22, 2012 7:55 am

Post by Qphoria » Mon Mar 05, 2012 1:34 pm

Look at the weight. If its more than 13oz, it won't offer first class, that is USPS limit

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Mon Mar 05, 2012 1:35 pm

admin28 wrote:I tried the above fix on my 1.5.1.3 server, but "First-Class Mail Parcel" doesn't show up in menu Extensions/Shipping/USPS, and in fact the old "First-Class Mail Package" still appears. I verified the code change in usps.php on the server. I'm probably missing something simple, but just doing the above change as instructed didn't have an effect. Any ideas? Thanks.

UPDATE: I solved the problem by searching for other usps.php files, and found that I also needed to make the above change to the usps.php file in my /shop/my admin ID/language/english/usps.php. After that change, it started working.

I changed this (line 8 in my file):

Code: Select all

$_['text_domestic_00']      = 'First-Class Mail Package';
To this:

Code: Select all

$_['text_domestic_00']      = 'First-Class Mail Parcel';
Was it just me who had to make this additional change? Glad to have it working again.
You didn't "have" to make the change. That is just for display on the admin side.. it will show correctly on the store front.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by admin28 » Mon Mar 05, 2012 2:47 pm

Qphoria wrote:
admin28 wrote:I tried the above fix on my 1.5.1.3 server, but "First-Class Mail Parcel" doesn't show up in menu Extensions/Shipping/USPS, and in fact the old "First-Class Mail Package" still appears. I verified the code change in usps.php on the server. I'm probably missing something simple, but just doing the above change as instructed didn't have an effect. Any ideas? Thanks.

UPDATE: I solved the problem by searching for other usps.php files, and found that I also needed to make the above change to the usps.php file in my /shop/my admin ID/language/english/usps.php. After that change, it started working.

I changed this (line 8 in my file):

Code: Select all

$_['text_domestic_00']      = 'First-Class Mail Package';
To this:

Code: Select all

$_['text_domestic_00']      = 'First-Class Mail Parcel';
Was it just me who had to make this additional change? Glad to have it working again.
You didn't "have" to make the change. That is just for display on the admin side.. it will show correctly on the store front.
That was not my experience. Both with my customers orders and in my own testing, First-Class Mail Parcel was not available in the store front until I made the second change. I had to refund postage for those who had to choose a higher rate/service. Can't say why it worked, but it did.

Newbie

Posts

Joined
Sat Feb 18, 2012 10:35 am

Post by thehumancpu » Wed Mar 14, 2012 2:40 am

The USPS first class calculations are not showing after updating the code from the information above.

I had it working 2-3 weeks ago, but recently it stopped registering again.

Opencart 1.9.5

New member

Posts

Joined
Mon Oct 19, 2009 10:59 am

Post by Joanne » Tue Apr 24, 2012 2:09 am

I'm on 1.5.2.1 and my first class parcel option also doesn't show up on checkout.

I changed my usps.php file, and it now says:

$firstclasses = array (
'First-Class Mail Parcel',

My package weighs less than 3 ounces. My shipping extensions are regular size, variable, 6x1x4. I've tried rectangular as well. I've tried machinable and nonmachinable, and 1x1x1.

Under System > Localization > Weight Classes I have only oz. set to 1.00000000.

On the product I am trying to buy, the weight class is oz. and the weight is 1.500000. The shopping cart shows the item weighs 1.5 oz.

Oddly, my parcel post is also excessive. I'm wondering if there's some extra weight creeping in somewhere. But where?

I don't know if it matters, but I edited the file through my file manager in cPanel. Is that acceptable?

Now what?

Newbie

Posts

Joined
Wed Apr 18, 2012 11:12 pm

Post by Joanne » Tue Apr 24, 2012 11:23 pm

Yay! I finally got it to work. I had to set the weight classes to oz = 16 and lb = 1 and set the USPS weight class to Pound.

Now I just have to figure out why the handling fee isn't showing up.

Newbie

Posts

Joined
Wed Apr 18, 2012 11:12 pm

Post by mbstreasurista » Tue Aug 14, 2012 4:17 am

Joanne wrote:Yay! I finally got it to work. I had to set the weight classes to oz = 16 and lb = 1 and set the USPS weight class to Pound.

Now I just have to figure out why the handling fee isn't showing up.
Joanne, how did you change the numbers and where? Thanks as i'm also having an issue with the First Class Shipping. I think it is reading ounces as pounds...

Thanks,
Misty


Posts

Joined
Tue Aug 14, 2012 4:15 am

Post by ritaylo3 » Tue Aug 14, 2012 11:49 pm

Hey everyone,
I am running 1.5.2.1 and still having the problem of First-Class not displaying. I have read all the posts above and made all of the changes I could find. I do not have anything that says First-Class Mail Package in my catalog/model/shipping/usps.php file. The only place I was able to change the name was in my admin language file (which I know only changes the name in the backend shipping module).

All of my settings are the same as Joanne's. lb=1, oz=16, dimensions 1x1x1, shipping set to Pound. The cart shows the item weighing at 1.00oz . We don't ship via Parcel Post, but when I activated it, I noticed it was showing the same price as Priority.

Anyone have any ideas or willing to help?? What am I missing??
thanks,
ritaylo3

Newbie

Posts

Joined
Tue May 22, 2012 3:48 am

Post by nelsongemstones » Sun Aug 25, 2013 4:27 am

I just saw this question from Mindy today. Sorry :(

I set the weight classes in System > Localisation > Weight Classes


Posts

Joined
Thu Jun 21, 2012 9:38 pm
Who is online

Users browsing this forum: No registered users and 1 guest