Configuring United States Postal Service (USPS) Carier allows you to offer the domestic and intertional shipping services on ground or airway conveniently. This is the service of United States goverment.
Thus, what credentials you need to connect your Magento 2 store to the USPS serve. Let check it out in this post. Moreover, we will also guide you in detail about other methods in the topics including UPS, FedEx, and DHL.
Must create a USPS Web Tools account firsly before cofiguring this shipping method. Then you will get User ID and a link to the USPS test server.
Stores > Settings > Configurations.
Enabled for Checkoutfield.
Gateway URLto calculate the USPS shipping rate. The default is ready to use, and don’t need to change.
Titlefor the name of the shipping method that is shown during the checkout process.
Passwordfrom your USPS account to Magento configuration.
Modefield, choose one of the following options:
If running USPS in the test enviroment, remember to set
Mode to live when you come back.
Package Request Typefield to manage orders that are deliveried as multiple packages as the following:
Containerto the typical packaging type for the shipment as the following:
Sizethat is acceptable for a package shipment.
Machinableif you want your typical packaged to be processed by a machine.
Maximum Package Weightoption.
Calculate Handling Feeto “Fixed” or “Percent”.
Handling Appliedfield, allow specifying how to calculate the handling fee.
Free Methodfield, select the USPS service you want to apply free shipping for.
Free Shipping Amount Thresholdfield, set the minimum number of the quantities for free USPS shipping.
Displayed Error Messagebox that will appear if UPS Shipping is not available.
Ship to Applicable Countriesto one of two options:
Show Method if Not Applicableto Yes if you want to show USPS Shipping all time.
Sort Orderon the Shipping Method on the checkout page.
Save Configto finish.
Ref: Magento 2 User Guide
It comes to the end of tutorial: How to Configure USPS Carrier in Magento 2.