Prestashop Module: USPS Rates

hero image

Offer real-time USPS rates to customers.

Offer real-time dynamic USPS (United States Postal Service) rates and delivery times to customers at checkout.

Easy Setup

Simply enter your USPS Web Tools username and your address and you’re ready to go. Select the carriers you want to use and the module installs them for you in your back-office automatically.

Box Packing

The module uses a sophisticated box packing algorithm to determine the smallest box(es) that will fit all the products in the customer’s cart; it can split the products into multiple boxes when the cart has more products than your largest box can fit.

You can add unlimited boxes into the module from the configuration page. The more boxes you add, the more accurate the rates will be.

Smart Caching

The module stores rates for each cart in the database to speed up your website. It will only retrieve new rates if the customer changes their zip/postal code, the products in their cart, or the quantities for products already in their cart.

Delivery Estimates

Display delivery estimates retrieved directly from USPS in real-time. e.g. “2 Business days.”.

Discounted Rates

You can choose to show Regular rates, or discounted Commercial/Commercial Plus rates.

  1. Install the module by going to Modules > Upload a Module and upload the module zip file.
  2. Go to the module’s configuration page, enter your email (the one you used to purchase this module) and the serial number that was sent to that email address.
  3. Once activated, configure the module with your origin address, box sizes, and rates preferences.
  • 1.1.3 (2023/11/22)
    • IMPORTANT: In 2024, USPS will start requiring a user’s WebTools API password to fetch rates. This update adds a “WebTools API Password” field to the configuration page in preparation for this change, it must be configured immediately.
    • FIX: Convert 9 digit zip codes to 5 digits because the USPS API does not support 9 digit codes for rates.
  • 1.1.2 (2023/08/02)
    • FIX: Resolve bug where an error would occur on the module configuration page if a module’s carrier was deleted from the Carriers menu.
    • Add compatibility with certain older PS versions.
  • 1.1.1 (2023/07/12)
    • NEW: Option to add insurance fees to rates at checkout.
    • CHANGE: “Retail Ground” has been updated to “Ground Advantage” as per the new USPS changes. USPS Ground Advantage combines Retail Ground, First-Class Package, and Parcel Select Ground services. Please disable First-Class carriers as they will no longer return any rates.
    • FIX: Add backticks to MySQL query for syntax compatibility
  • 1.1.0 (2023/01/11)
    • Add compatibility with PS 8.0
    • Fix issue preventing install/uninstall in enable/disable function
    • Fix deprecated jsonDecode() call
    • Rename deprecated hooks
    • Fix deprecated warnings in BoxPacker and USPS libraries
    • Change serialize() function to json_encode()
    • Prevent user from entering non-numeric characters in box fields
  • 1.0.9 (2022/07/09)
    • Fix fatal error on language change
    • Make box packing more efficient when Box Packing Limit is low
  • 1.0.8 (10/17/2021)
    • Update cacert.pem bundle
  • 1.0.7 (04/19/2021)
    • Update API endpoints to HTTPS
  • 1.0.6 (02/12/2021)
    • Fix bug where attribute weight was ignored
  • 1.0.5
    • FIX add jQuery in configuration page
  • 1.0.4
    • FIX added more acceptable unit of measurement spellings
    • FIX autoload bug on some PHP versions.
  •  1.0.3
    • FIX “empty()” usage on older PHP versions.
  •  1.0.2
    • Remove unused tab.
  •  1.0.1
    • FIX database constant in older PHP versions
    • FIX Conversion of ValueOfContents for international rates
  •  1.0.0
    • Initial launch