Skip to content

Commit 9467217

Browse files
AC-13257::Migrate USPS integration from outdated Web Tools APIs to new RESTful USPS APIs
1 parent 99c05fc commit 9467217

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -992,8 +992,7 @@ public function getCode($type, $code = '')
992992
'PRIORITY_MAIL_MACHINABLE_SINGLE-PIECE',
993993
'PRIORITY_MAIL_EXPRESS_MACHINABLE_SINGLE-PIECE',
994994
'MEDIA_MAIL_MACHINABLE_5-DIGIT',
995-
'USPS_GROUND_ADVANTAGE_MACHINABLE_SINGLE-PIECE',
996-
'PRIORITY_MAIL_EXPRESS_LEGAL_FLAT_RATE_ENVELOPE_HOLIDAY_DELIVERY'
995+
'USPS_GROUND_ADVANTAGE_MACHINABLE_SINGLE-PIECE'
997996
],
998997
],
999998
'from_us' => [

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,6 @@ class ShippingMethodManager
133133
'processing_category' => "FLATS",
134134
'destination_entry_facility_type' => "NONE"
135135
],
136-
"PRIORITY_MAIL_EXPRESS_LEGAL_FLAT_RATE_ENVELOPE_HOLIDAY_DELIVERY" => [
137-
'description' => "Priority Mail Express Legal Flat Rate Envelope Holiday Delivery",
138-
'title' => "Priority Mail Express Holiday Delivery Legal Flat Rate Envelope",
139-
'rate_indicator' => "E7",
140-
'mail_class' => "PRIORITY_MAIL_EXPRESS",
141-
'processing_category' => "FLATS",
142-
'destination_entry_facility_type' => "NONE"
143-
],
144136
"PRIORITY_MAIL_EXPRESS_PADDED_FLAT_RATE_ENVELOPE" => [
145137
'description' => "Priority Mail Express Padded Flat Rate Envelope",
146138
'title' => "Priority Mail Express Padded Flat Rate Envelope",

0 commit comments

Comments
 (0)