Magento 2 Marketplace USPS ShippingMagento 2 Marketplace USPS Shipping
Live Demo
Buy Now
Support
Live Demo
Buy Now
Support
  • Getting Started

    • Introduction
    • Requirements
    • Installation
    • Activate & Enable
  • Configuration

    • Configuration Overview
    • USPS Developer Account Setup
    • Admin Carrier Settings
    • Seller Shipping Portal
  • Operations & Workflow

    • Storefront Rate Calculation
    • Shipment & Label Generation
    • Hyvä Theme Compatibility
  • Help & Support

    • Troubleshooting
    • Frequently Asked Questions

Admin Carrier Settings

To configure global settings for Marketplace USPS Shipping, navigate to: Stores → Configuration → Sales → Delivery Methods → Marketplace USPS.


1. Core Carrier & Credentials

This section manages basic carrier activation, API connectivity, and global payment account identifiers.

Admin USPS Configuration Credentials

SettingConfig PathDefaultDescription
Enabled for Checkoutcarriers/marketplaceusps/activeNo (0)Activates the Marketplace USPS carrier across the storefront. Set to Yes to offer USPS at checkout.
Titlecarriers/marketplaceusps/titleMarketplace USPSThe label displayed to customers at checkout and in order review summaries.
Modecarriers/marketplaceusps/modeDevelopment (0)Switch between Development (test sandbox) and Live (production) USPS endpoints.
Development Endpointcarriers/marketplaceusps/development_urlhttps://apis-tem.usps.comThe USPS Testing Environment for Mailers (TEM) endpoint URL.
Live Endpointcarriers/marketplaceusps/live_urlhttps://apis.usps.comThe USPS Production REST API endpoint URL.
User IDcarriers/marketplaceusps/userid(empty)Your USPS Developer Portal Consumer Key (Client ID). Stored encrypted.
Passwordcarriers/marketplaceusps/password(empty)Your USPS Developer Portal Consumer Secret (Client Secret). Stored encrypted.
Payment Account Typecarriers/marketplaceusps/account_typeEPSPostage payment framework: EPS (Enterprise Payment System), METER, or PERMIT.
Account Numbercarriers/marketplaceusps/account_number(empty)The Enterprise Payment Account number or PC Postage meter number. Visible when Account Type is EPS or METER.
Permit Numbercarriers/marketplaceusps/permit_number(empty)The USPS Permit Imprint number. Visible when Account Type is PERMIT.
Permit Zip Codecarriers/marketplaceusps/permit_zip(empty)The 5-digit US ZIP Code associated with your permit account. Visible when Account Type is PERMIT.
Customer Registration Identifiercarriers/marketplaceusps/usps_crid(empty)A unique USPS-assigned numeric business location identifier (CRID).
Mailer Identifier (MID)carriers/marketplaceusps/usps_mid(empty)6 or 9-digit Mailer ID used in Intelligent Mail barcodes.
Mailer Identification codecarriers/marketplaceusps/usps_manifestmid(empty)Designated Manifest MID used for USPS electronic manifests.

2. Allowed Mail Classes & Methods

Configure the specific USPS service lines available to buyers for domestic (US) and international shipments.

Allowed Domestic and International Mail Methods

SettingConfig PathDescription
Allowed Domestic Mail Methodscarriers/marketplaceusps/domestic_allow_methodsMultiselect of permitted US domestic mail services, including USPS Ground Advantage, Priority Mail, Priority Mail Express, and Library Mail.
Allowed International Mail Methodscarriers/marketplaceusps/international_allow_methodsMultiselect of permitted cross-border services, including Priority Mail International, Priority Mail Express International, and First-Class Package International Service.
Processing Categoriescarriers/marketplaceusps/processing_categoryMail classification category: ALL, LETTERS, FLATS, MACHINABLE, or NONSTANDARD. Defaults to ALL.
Maximum Package Weightcarriers/marketplaceusps/max_package_weightMaximum single package weight supported by the carrier. Defaults to 70 lbs (USPS standard parcel limit).

Required Methods Configuration

At least one domestic and one international method must be selected. If this setting is empty, Carrier::collectRates() returns no rates, even if credentials are valid.


3. Handling Fees & Shipping Rules

Configure optional merchant markups, free shipping thresholds, and country restrictions.

Handling Fee and Threshold Settings

SettingConfig PathDefaultDescription
Enable Free Shipping Thresholdcarriers/marketplaceusps/free_shipping_enableNo (0)Enable automatic free shipping when a cart subtotal threshold is reached.
Free Methodcarriers/marketplaceusps/free_method(empty)Select which USPS mail class becomes free when the threshold is met.
Free Shipping Amount Thresholdcarriers/marketplaceusps/free_shipping_subtotal(empty)Minimum cart subtotal amount required to trigger free shipping.
Calculate Handling Feecarriers/marketplaceusps/handling_typeFixed (F)Choose Fixed dollar amount or Percent calculated from the base shipping rate.
Handling Appliedcarriers/marketplaceusps/handling_actionPer Order (O)Apply handling fee once Per Order or multiply Per Package.
Handling Feecarriers/marketplaceusps/handling_fee0Surcharge amount added to the quoted rate.
Ship to Applicable Countriescarriers/marketplaceusps/sallowspecificAll Allowed (0)Allow shipping to all countries configured in store general settings or restrict to specific countries.
Ship to Specific Countriescarriers/marketplaceusps/specificcountry(empty)Multiselect of allowed destination countries when specific countries is selected.
Allow Sellers to Save Usps Detailscarriers/marketplaceusps/allow_sellerNo (0)Set to Yes to allow marketplace sellers to configure their own USPS Developer credentials in their vendor portal.
Displayed Error Messagecarriers/marketplaceusps/specificerrmsg(standard text)Message presented to buyers when USPS rates cannot be calculated for the cart.
Show Method if Not Applicablecarriers/marketplaceusps/showmethodNo (0)If set to Yes, displays the carrier title with the error message even when unavailable.
Debugcarriers/marketplaceusps/debugNo (0)When enabled, logs all outgoing USPS REST requests, payloads, and responses to var/log/mpusps_logger.log.

4. Label Settings (mpusps_label)

These parameters control defaults when generating USPS PDF shipping labels via the USPS Labels API.

USPS Label Configuration

SettingConfig PathDefaultDescription
Processing Categoriescarriers/marketplaceusps/mpusps_label/processing_category_labelMACHINABLEParcel physical category for barcode creation (MACHINABLE, NON_MACHINABLE, etc.).
Domestic Destination Entry Facility Typecarriers/marketplaceusps/mpusps_label/d_destination_entry_facility_typeNONEEntry facility type for domestic parcels (NONE, DNDC, DDU, DSCF). Helps optimize drop-off discounts.
International Destination Entry Facility Typecarriers/marketplaceusps/mpusps_label/i_destination_entry_facility_typeNONEFacility entry classification for international routing.
AESITNcarriers/marketplaceusps/mpusps_label/usps_aesitnNO EEI 30.37(a)Automated Export System Internal Transaction Number for international customs compliance. Defaults to standard commercial exemption NO EEI 30.37(a).
Prev
USPS Developer Account Setup
Next
Seller Shipping Portal