USPS API CHANGES TO “FIRST-CLASS MAIL PARCEL”

SHANE BLANDFORD

September 6th, 2017

On September 1st, 2017 USPS changed the “First-Class Mail Parcel” service to “First-Class Package Service – Retail”

Magento has yet to release an official patch for this issue. Until a patch is released here is how you can fix the issue.

To begin with, we DO NOT advise modifying core files. Please override this class or create a patch file to avoid modifying core file.

The file that needs to be modified is :
app/code/core/Mage/Usa/Model/Shipping/Carrier/Usps.php

You will need to edit the file in two locations.

Location one is located on line #543 and will look like this.

Change this line to be :

‘0_FCP’ => Mage::helper(‘usa’)->__(‘First-Class Package Service – Retail’),

Once you are complete it should look like this.

The second location where this needs to be updated is on line #703 and should look like this.

Change this line to be :

‘First-Class Package Service – Retail’ => ‘0_FCP’,

Once you are complete it should look like this.

SHARE POST

logo

Orange Collar Inc. is based in Denver, CO. We believe in delivering total solutions to our clients from design to support.

2009 – 2020 © ORANGE COLLAR MEDIA​