How to Set Up ELEX WooCommerce Shipping Plugin with USPS Postage? (with Video)

This article intends to provide detailed, step-by-step instructions that’ll help you understand, how to set up ELEX Shipping Plugin with USPS Postage for WooCommerce. Refer to the product page to know more about other various features of the plugin. is a leading provider of Internet-based postage services. It provides service to small businesses, enterprises and online retailers to print official United States Postal Service (USPS) stamps and shipping labels. sends customers a digital scale to weigh letters and packages to ensure the correct amount of postage is applied to the piece of mail. The amount of postage applied is then deducted from the customers’ account. Customers can print postage on envelopes, regular paper or adhesive labels.

Our Shipping Plugin with USPS Postage for WooCommerce provides easy, seamless integration of WooCommerce with services. In addition to accessing real-time shipping rates, the plugin also provides print label and shipment tracking facilities.

Watch the complete setup guide for WooCommerce Elex Shipping Plugin with USPS Postage for WooCommerce here:



Some of the major highlights of the plugin include:

  • Real-time shipping rates: Based on the shipping destination address, product weights, and dimensions, the plugin fetches real-time rates from USPS.
  • Print shipment label: You can print shipping labels from order pages in the back-end of your WooCommerce store. Postage is automatically paid on the printed labels using your Stamps account.
  • Shipment Tracking: The tracking number returned from while generating the label will be added to order notes and sent as part of the order completion email. Shipments can be tracked by customers as well as shop owners.
  • Box Packing: You can select the desired box packing method. This will also affect the shipping rates displayed on your cart/checkout page.
  • Compatibility: The plugin is now compatible with TM Product Extra Options and TM Product Extra Options Weight AddOn.

All these features (and many more!) are bundled into one solution to serve your shipping integration needs for your online store.

Getting started with Shipping Plugin with USPS Postage for WooCommerce

Read an article to know how to complete the checkout process on ELEX. You can also read how to download, install, activate ELEX plugins.

Once the plugin is installed and activated, you can navigate to plugin settings in two ways:

  • Dashboard > WooCommerce > Shipping > – USPS (or)
  • Dashboard > Plugins > Installed Plugins > WooCommerce Extension (USPS) > Settings.

Now that we have explored the features of the plugin, and have installed it, let’s get down to configure the plugin.

General Settings

The general settings are as shown below.

Set up WooCommerce | General settings

General settings

Real-time Rates: Tick this checkbox to access real-time rates from USPS.

Common API Settings

The API Setting fields are as follows.

  • User Name and Password: For accessing APIs, you need to register with After registration, you will receive User Name and Password. Enter the received credentials in the respective text fields.
  • Debug Mode: If you are not getting proper rates ( lesser or higher than expected), not getting all the available shipping options, or not getting any rates at all, then you can tick the Enable Developer Mode checkbox to find the error(s). You can also see the warning(s) by our WooCommerce Shipping plugin.
    By enabling debug mode, you can trace issues using log. You can see information about debugging at the top of the cart and checkout page. After enabling debug mode, add a product to the cart. Go to the cart or checkout page to see the debugging information.
    For detailed information on debugging, see how to troubleshoot Shipping Plugin for WooCommerce?.
  • API Mode: You can switch between Test and Live mode for making a purchase and printing labels.
    The test mode does not involve any real money transaction and can be used test features and settings, before going live. You should contact to obtain test credentials and test API URL. In addition to this, you should request them to whitelist your website host IP and your personal computer IP so that you can access/view the label URLs (generated in test mode).
  • Insurance: Insurance provides coverage in the event that the packages are lost or damaged while in transit. If a shipper requires protection for items, then insurance may be arranged at an additional cost by USPS. For more information on insurance, see USPS Insurance – Stamps.
    The plugin offers three options for insurance –

    • Customer Choice: If you select this option, customers will get an insurance field in the checkout page, where they can choose to opt for insurance for the packages.
    • Mandatory: Applies insurance to all the packages compulsorily.
    • No insurance (default option): Insurance is not applied to the packages.

Click Save Changes to save the settings.

Rates & Services

This section contains settings that will determine the services that will be made available to the customers in your store. The settings are as shown below.

Set up WooCommerce | Rates and Services

Rates and Services

  • Method Title: Allows you to set a custom title for the shipping method. This title will be visible on the cart and checkout page under Shipping options.
  • Method Available to: This field allows you to select countries, for which the shipping method will be available.
    There are two options:

    • All Countries: Choose this option if you offer the shipping method all over the world. This option is selected, by default.
    • Specific Countries: Provides options to select desired countries. The shipping method will be available only in selected countries.
  • Origin PostCode: Enter the postcode of the sender. This postcode will be used for calculating shipping rates.
  • Estimated Delivery Date: Enable the checkbox for displaying the estimated delivery date of the selected services of
  • Working Days: Select your working days from the drop-down menu for calculating the estimated delivery date, as shipments only happen on working days.
  • Cut-off time: This is also necessary for calculating the estimated delivery date. You can enter a cut-off time here, the order placed after the cut-off time will be shipped on the next working day.


The following settings determine the rates you offer to your customers.

  • Cheapest Rate: Once enabled, the plugin will show only the cheapest rate from the returned rates in the cart and checkout pages.
  • Fallback: If fails to return any rates, the fallback will be applied. This allows your customers to check out the process even when does not return any rates.
  • Priorities Flat Rate: Tick this checkbox if you wish to give higher priority to flat rates when package rates and flat rates are available together.
  • Restrict Media Mail: Select the Shipping class for which you want to disable the Media Mail rate. Read more about Media Mail, here.
  • Services: provides a different kind of shipping methods which are suited to different needs of the customer. Our WooCommerce shipping plugin supports the following services – Domestic services:

  • First-Class Mail®
  • Priority Mail Express™
  • Media Mail Parcel
  • Library Mail Parcel
  • USPS Parcel Post
  • Priority Mail®
  • USPS Parcel Select
  • USPS Critical Mail International services:

  • Priority Mail Express International™
  • Priority Mail International®
  • First-Class Package Service™ International.

Our WooCommerce shipping plugin also enables you to select package type(s) for the required service. The available package types are listed in the table below.

Package TypeDescription
PostcardIt is a single sheet of paper, but to qualify for mailing it must be: Rectangular, At least 3-1/2 inches high x 5 inches long x 0.007 inches thick, No more than 4-1/4 inches high x 6 inches long x 0.016 inches thick.
LetterA mail piece with its own special envelope or a piece that will be folded to letter-size. To qualify for a mailing letter, it must be: Rectangular, At least 3-1/2 inches high x 5 inches long x 0.007 inches thick, No more than 6-1/8 inches high x 11-1/2 inches long x 1/4 inch thick.
Large Envelope or FlatLarge envelope or flat. Has one dimension that is between 11 ½” and
15” long, 6 1/8” and 12” high, or ¼” and ¾ thick.
Thick EnvelopeThick envelope. Envelopes or flats are greater than ¾” at the thickest point.
PackagePackage. The longest side plus the distance around the thickest part is less
than or equal to 84”
Small Flat Rate BoxUSPS small flat rate box. A special 8-5/8″ x 5-3/8″ x 1-5/8″ USPS box
that clearly indicates “Small Flat Rate Box”.
Flat Rate BoxUSPS medium flat rate box. A special 11” x 8 ½” x 5 ½” or 14” x 3.5” x
12” USPS box that clearly indicates “Medium Flat Rate Box”
Large Flat Rate BoxUSPS large flat rate box. A special 12″ x 12″ x 6″ USPS box that clearly
indicates “Large Flat Rate Box”.
Flat Rate EnvelopeUSPS large flat rate box. A special 12″ x 12″ x 6″ USPS box that clearly
indicates “Large Flat Rate Box”.
Flat Rate Padded EnvelopeUSPS flat rate padded envelope.
Large PackageLarge package. The Longest side plus the distance around the thickest part is over 84” and less than or equal to 108”.
Oversized PackageOversized package. The longest side plus the distance around the thickest
part is over 108” and less than or equal to 130”.
Regional Rate Box AUSPS regional rate box A. A special 10 15/16” x 2 3/8” x 12 13/ 16” or
10” x 7” x 4 3/4” USPS box that clearly indicates “Regional Rate Box A”.
15 lbs of maximum weight.
Regional Rate Box BUSPS regional rate box B. A special 14 3/8” x 2 2/8” x 15 7/8” or 12” x
10 1/4” x 5” USPS box that clearly indicates “Regional Rate Box B”. 20
lbs maximum weight.
Legal Flat Rate EnvelopeUSPS-supplied Priority Mail flat-rate envelope 9 1/2″ x 15″. Maximum
weight 4 pounds.

You can enable desired services with package types in the Services table. The unchecked services will not be displayed on the website even though they are available services from USPS.
Please go to USPS Mail & Shipping services for detailed information on each service.

The services table is divided into the following four columns:

  • The first column represents all service names. You can set a custom service name in the given text field.
  • In the second column, you can select the packages that you want to offer. By default, Package (as package type) is enabled for all the services.
  • The last two columns are used for price adjustments. You can add or subtract the required amount to/fro actual shipping cost. Use minus sign (-) for subtracting the amount. You can specify the price in percentage or amount value.

For example, consider the shipping cost of First-Class Mail (Package) returned by is $5.

Case 1:  Price adjustment of $5, for First-Class Mail –

WooCommerce | Amount Adjustment

Amount Adjustment

The total cost displayed for Regular Post is $10 ($5+$5).

Case 2: Price adjustment of 10%, for First-Class Mail –

WooCommerce | Percentage Adjustment

Percentage Adjustment

The total cost displayed for First-Class Mail is $5.5 (the 10% of 5 is added to 5).

Case 3: Price adjustment of $5 and 10%, for First-Class Mail –

WooCommerce | Amount & Percentage Adjustments

Amount & Percentage Adjustments

The total cost displayed for First-Class Mail is $10.5  (the 10% of 5 is added to 5 + 5  to get actual).

Click on the Save changes button to save the settings.

To arrange the ELEX USPS Shipping Services on top of other shipping services on the cart and checkout pages, refer to the code snippet article.

Label Generation

The following settings are required for generating shipping labels.

ELEX Shipping Plugin with USPS Postage for WooCommerce | USPS label generation

  • Account Manager: Tick this checkbox to enable account manager meta box in WooCommerce admin order pages. With this setting, you can add funds to your account to purchase more postages.
  • Custom Reference Number: Enter your tax registration number in this field. You can enter the taxation number you would get after the registration based on the country to which you are exporting or shipping packages. Preface the number value with ‘IOSS’, or the specific text based on the destination country to help the customs to distinguish the IOSS, VAT, or any other country’s identification number from other issued tax identification numbers. The maximum field size is 40 characters. This value will be passed to the customs and printed on the shipping label.
  • Print Label Type: You can choose the desired format for printing labels from the following options –
    • PNG: This option prints the label in Portable Network Graphics which is a raster graphics file format that supports lossless data compression.
    • GIF: This option prints the label in  Graphics Interchange Format which is used on the World Wide Web due to its wide support and portability.
    • JPG: This option prints the label in Joint Photographic Experts Group which is most commonly used for storing and transmitting photographic images on the World Wide Web.
    • PDF: This option prints the label in Portable Document Format which is used to present documents independent of the application, software, hardware, and operating system.
  • Paper Size for PDF: Paper sizes support by our WooCommerce plugin are as follows –
    • Default: Uses default page size.
    • Label 85X11: Uses letter size paper (8.5 x 11 inches) to print labels.
    • Label Size: Uses label size paper (4 x 6 inches) to print labels.
      Note: The above sizes apply only when image type is PDF.
  • Print Layout: This setting determines the format of the label image. The availability of the given options will vary based on shipping service and label format.
    Following are the options provided by our plugin –

    • Default: Uses the default print layout.
    • Healthy: Label of 4×6 inches gets generated. For Critical Mails, this option generates labels for windowed envelopes.
    • NormalLeft: Label of 4×6 inches gets generated on the left side of the paper.
    • NormalRight: Label of 4×6 inches gets generated on the right side of the paper.
    • Normal4X6: Label of 4×6 inches gets generated. This option only applies to Critical Mails and Library Mails.
    • Normal6X4: Label of 6×4 inches gets generated. This option only applies to Critical Mails.
    • Normal75X2: Label of 7.5×2 inches gets generated. This option only applies to domestic First Class or Priority packages.
    • NormalReceipt: Label of 6×4 inches and receipt gets generated.
    • NormalCN22: A 4×6 label on an 8.5×11 sheet with Customs Form CN 22 gets generated.
  • Hidden Postage: Tick the checkbox to hide the actual postage amount on the Print label. This feature is useful for users who wish to hide the actual postage amount from the recipients of packages.
  • Signature Required: Enabling this option will add a signature required message on the shipping label.
  • Time Zone Offset (Minutes): If you wish to change the shipment creation time on the printing label, you can specify the time value in minutes that will be added to the current time. To reduce the time from the existing time, use the minus (-) sign before the time value.
  • Bulk Shipment: For bulk shipment, you can select default domestic and international service. Select desired options for both services from the given list. This default service will be chosen, when no USPS service is selected during checkout.
  • Sender Details: Enter the sender name, company name,  address and contact information in the respective text fields.
  • ITN: Enter ITN for international shipping. ITN means Internal Transaction number, used for some international packages that use the multi-page form and may require Electronic Export Information (EEI) to be filed through the Automated Export System (AES).
    For more information about ITN, see what is an Internal Transaction Number (ITN)?


You can get real-time rates for items using API. With a price calculator, you get real-time postage rates for domestic, as well as international shipping. Real-time rates are calculated based on product dimensions and weight, and the best-fitted box rates are returned from USPS. These rates will depend on the method used for packing the parcel. Our ELEX WooCommerce USPS plugin offers three types of parcel packing methods.

They are as shown below.

Set up WooCommerce | Parcel Packaging

Parcel Packaging settings

1. Individual Packing

In this option, each item in the cart is packed separately. Total shipping cost is calculated by adding the shipping cost for each item. This option is selected by default.
For example, the shipping cost of Item X is $10. If the customer adds two quantities of Item X to the cart, the total shipping cost is $10 x 2, which is $20.

2. Pack into boxes with weight and dimensions

If packing items individually does not suit your business, then you can define custom box sizes under Box Dimensions section. All the cart items are packed into custom boxes defined in Box Dimensions settings. The best fit box is automatically chosen from the defined boxes. This is the recommended option. You can read through setting up box dimensions to understand box packing in detail.

The settings are as shown in the screenshot below.

Set up WooCommerce | Pack into Weights and Dimensions

Pack into Weights and Dimensions settings

Packing Algorithm: You can pack items in following two ways –

  1. Volume Based Packing – With this algorithm, the items are placed in the box based on the total volume of both items and the box they are packed into.
  2. Stack First Packing –  Using this algorithm, items are stacked or pilled unto one another, based on either length, width or height of items as well as the box they are packed into.
    To know more about this algorithm, read what is stack first algorithm?

Box Dimensions: This setting is applicable only when Pack into boxes with weight and dimension is selected. Here, you can define the outer and inner dimensions of boxes. Outer dimensions are the dimensions of the package. Inner dimensions are the dimensions of the product.

For heavy packing box, enter the weight of the box so that it is added to the product weight, to calculate shipping rates. You can tick the respective Letter checkbox if you want to mail letters. Based on your requirement, you can add or remove box dimensions.

Tick the Enable checkbox of the respective boxes to enable or activate them. If these checkboxes are unchecked, you will not be able to use the selected box(es).

3. Order Total Weight:

Enter the maximum weight limit for packages. In this option, the weight of all the cart item is summed up and items are packed with maximum weight limit in the box(es) and passed to API to get rates. In addition to this, you can specify the process of packing, that is, you can pack heavier items firstpack lighter items first or pack items purely divided by weight.

Below is a screenshot showing the order total weight settings.

Set up WooCommerce | Pack based on Order total weight

Pack based on Order total weight settings

  • Box measurement unit: Tick this checkbox to consider the unit of weight and dimension selected in WooCommerce settings. If this setting is unchecked, pounds and inches (lbs/inc) for weight and dimension will be taken by default.

Finally, click Save changes to save the plugin settings. settings at the Product level

Different products might need a different level of processing. Hence, our plugin provides three important product level settings for shipping as shown below.

Set up WooCommerce | settings at Product level settings at the Product level

  • HS Tariff Number (Stamps): HS is a standardized system of names and numbers to classify products. Shop owners can provide the HS number of the product so that international shipments are processed smoothly.
  • Country of manufacture (Stamps): Enter the country code where the product is manufactured.
  • Customs Declared Value: Allows you to give custom product price for Customs purpose. Instead of the product price, this value will be sent in the API request.
    For example, if the product price is $10, and you define the customs value in this setting as $15, the customs value, $15, will be sent in the request.
  • Stamps Delivery Signature: If you are selling products that are targeted to adults, or want signatures when deliveries are made,  select one of the following options:
    • Delivery Confirmation: The US Postal Service can tell you the date, time and zip code where your item was delivered, giving you peace of mind. If the postal carrier tries to attempt delivery, you’ll get the date and time of that attempt, too. This service is now called USPS Tracking.
    • Signature Required: In this service, the item can be delivered only after obtaining a signature.
    • Signature Confirmation: In this service, a signature is required from the recipients of their packages. Although USPS Tracking proves that a package was delivered to a particular address, Signature Confirmation proves that it was actually received by the intended recipient or his agent.
    • Adult Signature Required: This service requires the signature of someone who is 21 years of age or older at the recipient’s address.
    • Adult Signature Restricted Delivery: This service requires the signature of a specific addressee (or authorized agent), who must be 21 years of age or older.
    • None: To completely disable delivery signature option.

Select Preferred Service Before Creating the Shipment

Before creating the shipment of individual orders with, you can choose the preferred service of USPS from your side by changing the service chosen by the customer. 

You can click on the button marked on the below screenshot, and choose a preferred service from the list before creating the shipment.

ELEX Shipping Plugin with USPS Postage for WooCommerce | Select Preferred Service While Creating Shipment


Let’s now see how these settings are applied.


Once all the plugin settings are configured and saved, you can move to the front-end of your WooCommerce store to see the affected changes.

A screenshot of the sample cart page is shown below.

Set up WooCommerce | USPS services on Cart page

USPS services on the Cart page

How to print shipping labels in WooCommerce shipping plugin?

The following steps show how to generate a shipment label when an order is placed with a account:

  • Open an order to view order details. The Generate Packages button for the order is displayed as shown in the screenshot below.
Set up WooCommerce | Generating Packages

Generating Packages

  • Once you click on Generate Packages button, selected shipping service, package type, and the package details are shown. The available services with their respective costs are listed as well. You can also select separate services for each package and select desired package type. The rates are dynamically updated based on package type.
    If you want to add additional packages, then click on the Add Package button and enter the weight and dimensions of the package.

Click on Create Shipment to proceed with label printing, as shown in the below screenshot.

Set up WooCommerce | Create Shipment

Create Shipment

  • The shipment is finally created, and a shipment tracking ID is generated, as shown in the screenshot below.
Set up WooCommerce | View Label

View Label

  • The shipment label is now ready to be printed. To do so, click View Label.
    A screenshot of sample shipment label is shown below.
Set up WooCommerce | Sample USPS Label

Sample USPS Label

With our WooCommerce plugin, you can print labels for international shipping with Customs Declaration Forms as well. A sample international label is shown in the below screenshot.

WooCommerce | International Shipping Label

Sample International Shipping Label

How to download WooCommerce shipment labels?

Not only can you print shipping labels, but you can also download respective PDFs too. This option is available in WooCommerce Orders page. To do this, go to Dashboard > WooCommerce > Orders.

A sample screenshot is shown below.

WooCommerce | Downloading Shipping Label

Downloading Shipping Label

Click on icon in the Actions column, to download the shipment label.

How to create WooCommerce shipment labels in bulk?

You can generate shipment labels in bulk on the WooCommerce Orders page. Select the desired orders to print the labels, and select Create Stamps USPS Shipment option from the Action list, and click on Apply button.

WooCommerce | Bulk creating Stamps USPS Shipment

Bulk creating Stamps USPS Shipment

How to track shipments with WooCommerce shipping plugin?

Once the shipment tracking ID is generated, you can enter the desired shipment date and click on Save/Show Tracking info button, as shown in the below screenshot.

WooCommerce | Stamps Shipment Tracking

Stamps Shipment Tracking

Once the shipment tracking information, you will receive a confirmation message, as shown in the screenshot below.

WooCommerce | Stamps Shipment Tracking Information

Stamps Shipment Tracking Information

How to add funds to my Account?

If you have enabled Account Manager in the plugin settings, you can see a Account meta box on WooCommerce edit order page. Here, you can add funds to our account for postage.

The setting is as shown in the below screenshot.

WooCommerce | Stamps Account Manager

Stamps Account Manager settings

How to generate USPS shipping labels in bulk?

To generate shipping labels in bulk, you would need our ELEX WooCommerce USPS Bulk Label Printing Add-On. Once you have purchased this add-on, you can read how to bulk print USPS shipping labels to set up the add-on.

How to auto-generate and email USPS shipping labels?

To generate automatically generate and also email USPS shipping labels, you would need our ELEX USPS Auto-Generate & Email Labels Add-On. Once you have purchased this add-on, you can read how to auto-generate and email USPS shipping labels to set up the add-on.

How to schedule a USPS Pickup Request with

Scheduling USPS pickup request is not made easy with ELEX WooCommerce Pickup Request Add-On. Read the product documentation to understand the add-on in detail.

How to Hide Shipping Methods Based On Destination Countries (US & Canada)?

To offer free shipping only for the United States and Canada billing addresses and, make available the international USPS shipping rates for all other countries, check out the code snippet.

To know more about the product, check out Shipping Plugin with USPS Postage for WooCommerce.

Or check out the documentation section for more related articles.

For any queries, contact our support team.

    Leave a Reply

    WordPress Image Lightbox Plugin