Back to Top

Laravel eCommerce USPS Shipping

Updated 22 April 2024

Laravel eCommerce USPS Shipping module allows the store owners to enable United States Postal Servies for the shipment of orders. Now the customers can select USPS shipping methods for the fast delivery of their orders.

The Store owner can choose the title and description for this shipping method for the storefront. USPS methods are available for both US-based as well as international customers.

Check a brief overview of the plugin –


  • The admin can enable/disable this shipping method.
  • The admin can choose the title and description for the storefront for this method.
  • Allows admin to choose shipping methods under USPS shipping services.

Customers will get a zip folder after purchasing the extension and Unzip the extension zip and then merge the “packages” folders into the project root directory.

B2B stripe

Goto config/app.php file and add following line under ‘providers’

Start your headless eCommerce
Find out More

Then goto composer.json file and add following line under ‘psr-4’

“Webkul\UspsShipping\”: “packages/Webkul/UspsShipping/src”

Run these commands below to complete the setup

composer dump-autoload
php artisan route:cache
php artisan config:clear
php artisan vendor:publish

-> Press 0 and then press enter to publish all assets and configurations.

Firstly the admin needs to set the origin address, for this the admin needs to navigate to Configure>>Sales>>Shipping.


In the above page the admin needs to fill all the details for origin address as shown above.

Now the next step is to configure the Laravel eCommerce USPS shipping module, to perform this the admin needs to navigate to Configure>>Sales>>Shipping Methods.

Under the Shipping methods, all the shipping methods are visible in the admin panel including the USPS shipping.

Under the Marketplace USPS there are several fields:-

Title:-Enter the Title for the name of the shipping method that is shown during the checkout process.

Description:- The admin can also input the description regarding the shipping method.

Status:- The admin can active or inactive the module from this field.

Gateway URL:- Enter the Gateway URL to calculate the USPS shipping rate.

Secure Gateway URL:- Enter the Secure Gateway URL provided in the mail after creating the USPS Shipping Account

User ID:- Enter the User ID from your USPS account.

Password:- Enter the User ID and Password from your USPS account.

Mode:-Choose one of the following options here:

  • Development – Runs USPS in a test environment.
  • Live – Runs USPS in a live production environment.

Container:-Set the Container to the typical packaging type for the shipment as the following:

  • Variable
  • Flat-Rate Box
  • Flat-Rate Envelope
  • Rectangular
  • Non-Rectangular

Size:- Determine the Size that you want to use for a package shipment.

  • Regular
  • Large

Note:- When the size is selected as large the admin also need to input the Length, Width and Height.

Machinable:-Select Yes for the Machinable if you want your package to be processed by a machine.

Allowed Methods:- Choose USPS method offered to your customers from the Allowed Method list.


After the successfully configuring the USPS shipping, the customers can use the USPS shipping method for the delivery of their products.

The customer can also select the allowed services according to the requirements.


Once the order has been placed the customer can see all the details regarding the order in the order summary page including the shipping method used by the customer for the delivery of the package as shown below:-


The admin can see all the orders that have been placed under the admin panel by navigating to Sales>>Orders as shown in the image below:-


To view the details of any particular order the admin needs to click on the eye button.


After Clicking on the Invoice button the admin can create the invoice for that order as shown below:-


Here the admin also need to enter the quantity to invoice and click on the Save Invoice button.

To create a shipment click on the ship button in the order detail page.


The admin needs to enter the Carrier Title, Tracking Number, Quantity to Ship and also needs to select the inventory source of the product.

Click on the Save shipment button.

That’s all for the Laravel eCommerce USPS Shipping 


So, that was much about the User Guide of Laravel eCommerce USPS Shipping for any queries or doubts reach out to us at [email protected]. You can also raise a ticket at our HelpDesk System.

Please explore our Laravel Development Services and Quality Bagisto Extensions.

Current Product Version - 1.1.0

Supported Framework Version - Bagisto, 1.1.0, 1.1.1, 1.1.2

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home

Table of Content