USPS is the acronym for United States Postal Service, the postal service of United States government. This tutorial is a step by step tutorial for the USPS plugin.
Install the USPS shipment plugin
Install the USPS shipment plugin via the Joomla installer, and enable it.
Open a USPS account
To request access to the USPS production API, use the form here: https://secure.shippingapis.com/registration/
and ask to activate your account on the production server.
You will receive an email with the registration informations, and with your username. This username is needed to configure your USPS plugin.
Test server: the USPS shipment plugin does not work on USPS test server. If your USPS account is not in a production mode, you will get this error message:
Error Code: 80040b1a
Error Description: Authorization failure. You are not authorized to connect to this server.
In this case, contact USPS and request that your account is converted to production.
Create a USPS shipment method in VirtueMart
- From the VirtueMart administration, choose the menu Shop > Shipment methods
- Choose the New button
- Enter a shipment name. It is title that will appear on your web site.
- In the select list Shipment Method, select Vm Shipment - USPS
- Click Save
Configure the USPS shipment method
- Click on the configuration tab to configure your shipment method
- USPS ACCOUNT PARAMETERS
- Enter the Username of your USPS account
- Unless you have a Proxy server, you don't need to enter this parameter.
- USPS PARAMETERS
- Machinable packages:
- Select Yes if your package can be processed by a machine,
- Select No if it must be processed manually.
- Package Size: select the option that describes the typical size of the package shipped from your store.
- Weight Padding
- Send dimensions: For every type of mail, there’s a minimum and maximum size.
This parameter forces the USPS shipment plugin to send Length/Width/Height information when requesting for rates when the Package Size is set to Regular. When the Package size is set to Large, the dimensions are always sent.
- USPS Error Report : displays the errors returned by USPS. It is recommended to set to Yes. For example, if the client enters an unknown ZIP code, the message will be displayed:
- Machinable packages:
- DOMESTIC SERVICES
- Domestic Service Options: All the available services offered by USPS are listed. Select those you want to use. List of the Domestic USPS Services.
- Domestic Countries list: select the countries
- Domestic Handling Fee: this fee is an additional charge to be added to the shipping cost. It is an optional parameter.
- INTERNATIONAL SERVICES
- International Services Options: All the available services offered by USPS for international shippping are listed. Select those you want to use. List of the International USPS Services.
- Countries: select the destination countries you want to ship to with USPS
- International Handling Fee
- VirtueMart parameters
- Logo: you can upload a logo via the Joomla Media manager in the folder images/stories/virtuemart/shipment. The list of the
- Tax: you can apply a tax to your fee. The taxes are created via the menu "Calculation and tax rules".
Verifying Shipping Rates
The USPS Postage Price Calculator is a tool that helps you to verfiy the shipping rates. When comparing shipment charges between plugin and the USPS online calculator tool providing the rates, be sure that the requests are identical.
Info: USPS: The delivery services configurated in the shipment method do no match the Delivery Services returned by USPS.
If they do not match, then no shipment is listed.
Reason 2: Another possible error is that you have entered a value for the parameter Proxy Server, and in your case it is not necessary. Leave blank that parameter, and try again.
Reason 3: Your products do not have weight. IN this case, the plugin do not request quotes to USPS.
Q: Usps Response Error Usps Code -2147218040 Description The country name is a US Possession.
A: In the list of the International country, you have selected one US country. Remove all US country from this list.
Q: Usps Response Error Usps Code 80040b1a Description Authorization failure. You are not authorized to connect to this server.
A: Most of the time this error occurs because the USPS account has not been activated by USPS. Follow the procedures in the email , and email their support group and request that your ID be converted to production.
- Hints for how to add a logo for payment and shipment methods
- USPS services and Prices
- Those pages from ebay give you a nice oversigth of the different USPS shipping services, and the USPS package types