Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 240e2cc

Browse files
committed
MAGETWO-72305: USPS First-Class Mail Parcel method no longer displaying checkout
- Renamed "First-Class Mail Parcel" to "First-Class Package Service - Retail" according to USPS API changes
1 parent 7978fcf commit 240e2cc

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

app/code/Magento/Usps/Model/Carrier.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ public function getCode($type, $code = '')
643643
'method' => [
644644
'0_FCLE' => __('First-Class Mail Large Envelope'),
645645
'0_FCL' => __('First-Class Mail Letter'),
646-
'0_FCP' => __('First-Class Mail Parcel'),
646+
'0_FCP' => __('First-Class Package Service - Retail'),
647647
'0_FCPC' => __('First-Class Mail Postcards'),
648648
'1' => __('Priority Mail'),
649649
'2' => __('Priority Mail Express Hold For Pickup'),
@@ -795,7 +795,7 @@ public function getCode($type, $code = '')
795795
'method_to_code' => [
796796
'First-Class Mail Large Envelope' => '0_FCLE',
797797
'First-Class Mail Letter' => '0_FCL',
798-
'First-Class Mail Parcel' => '0_FCP',
798+
'First-Class Package Service - Retail' => '0_FCP',
799799
],
800800
'first_class_mail_type' => ['LETTER' => __('Letter'), 'FLAT' => __('Flat'), 'PARCEL' => __('Parcel')],
801801
'container' => [

app/code/Magento/Usps/Setup/InstallData.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface
3939
'First-Class Mail Letter' => '0_FCL',
4040
'First-Class Mail Parcel' => '0_FCP',
4141
'First-Class Mail Package' => '0_FCP',
42+
'First-Class Package Service - Retail' => '0_FCP',
4243
'Parcel Post' => '4',
4344
'Retail Ground' => '4',
4445
'Media Mail' => '6',

app/code/Magento/Usps/i18n/en_US.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"First-Class Mail Large Envelope","First-Class Mail Large Envelope"
22
"First-Class Mail Letter","First-Class Mail Letter"
3-
"First-Class Mail Parcel","First-Class Mail Parcel"
3+
"First-Class Package Service - Retail","First-Class Package Service - Retail"
44
"First-Class Mail Postcards","First-Class Mail Postcards"
55
"Priority Mail","Priority Mail"
66
"Priority Mail Express Hold For Pickup","Priority Mail Express Hold For Pickup"

0 commit comments

Comments
 (0)