UPS
This tutorial explains how to install and configure the UPS shipment plugin for VirtueMart2.
Create a test account on UPS
- Create a UPS login at UPS.Com. Click on My UPS and Register to create an account.
- Request a developer API key at www.ups.com/upsdeveloperkit and follow the steps from that page.
You will receive an email with all the informations and the API key.
A usefull post on the forum on how to get a UPS Access Key
Install the UPS plugin
- Install the UPS plugin via the Joomla Installer
- Enable the UPS plugin
Check your shop configuration
- Go in Shop > Shop menu, click on the Tab Shopper information
- Check that your address, ZIP code, and country is correct.
Configure UPS as shipment method
- Go to component VirtueMart
- Create a new shipment method, and select UPS, click Save
- Go on the Configuration tab
- If you are shipping from the same address as your shop, select Use shop address. If you are shipping from another address, select Use warehous address, and enter all informations
- Enter the informations provided by UPS:
- Api Key
- User Password
- MyUPS User ID (user name)
- UPS Account Number
- Choose the Delivery Services. UPS offers a wide variety of package delivery services.
Valid domestic values:- Next Day Air Early AM
- Next Day Air
- Next Day Air Saver
- 2nd Day Air AM
- 2nd Day Air
- 3 Day Select
- Ground
- Standard
- Worldwide Express
- Worldwide Express Plus
- Worldwide Expedited
- Saver
- Select the UPS pickup method. The options are :
- Daily Pickup
- Customer Counter
- One Time Pickup
- On Call Air
- Suggested Retail Rates
- Letter Center
- Air Service Center
- Select the Customer classification. The options are:
- None
- Wholesale
- Occasional
- Retail
The default values depends on the UPS pickup method:- The default value is Wholesale when the Pickup method is daily pickup.
- The default value is Occasional when the Pickup method is One Time Pickup or On Call Air or Letter Center or Air Service Center
- The default value is Retail when the Pickup method is Customer Counter
- Choose the Packaging. The options are:
- Unknown
- Ups Letter
- Package/customer supplied
- UPS Tube
- Express Box
- 25KG Box
- 10KG Box
- Pallet
- Small Express Box
- Medium Express Box
- Large Express Box
- Select the Shipment strategy
- Based on weight: the number of packages needed is calculated dividing the total weight of the products with the maximum package weight allowed.
- Based on volume: the number of packages needed is calculated by dividing the total volume of all products with the maximum package volume defined in the parameter Boxes dimension
- Each product sent as one package: each products is put into one package
- Enter the Boxes dimension and select the Dimension unit of the boxes only when the parameter Shipment strategy is set to Based on volume
- Select if you want that the returned UPS shipment rates include an Insured value (more expensive).
- Set Local Weight Unit to the system you use to measure product weight. The weight system supported by UPS varies by country (example LBS for USA, KGS for France).
- Weight Padding and Dimensions padding allows you to pad the weight or dimensions for shipping package
- Select the Destination type to which the shipment is being sent. The options are:
- Auto: based on delivery address entered by the client during checkout, the UPS shipment plugin will determine if the address is residential or commercial depending if the company name is filled or not,
- Commercial
- Residential: A residential delivery is defined as delivery to a location that is a home, including a business operating out of a home.
- Free shipment: enter an amount for which the shipment is offered. Do not enter any value, if you do not offer shipment
- Select the Accepted Countries for the shipment. If no country are selected, the shipment is available for all countries.
- Choose a logo for your shipment
- Select Yes or No for Charge Tax
- Choose the Tax Rule
Test your installation
Attention: Be sure your products have weights entered.
- Add a product to your cart
- Click on Select shipment: all the available services and rates are displayed.
Trouble shooting
Info: UPS: The delivery services configurated in the shipment method do no match the Delivery Services returned by UPS.
If they do not match, then no shipment is listed.
Check the complete list of the delivery services depending on the originating country, and change the parameter Delivery Services according to your originating country, and the destination countries.
Reason 2: Another possible reason is that you have not set weigth for your products. Just like before, to check that this the reason, log in as vendor on the front end, and do a checkout. The following message will be displayed: Packages must weigh more than zero pounds.
Check that all your products have a weigth.
Reason 3: Another possible reason is that you have the weigth is over the maximum limit autorized by UPS. Just like before, to check that this the reason, log in as vendor on the front end, and do a checkout. The following message will be displayed: The maximum per package weight for the selected service from the selected country is xxx pounds.
UPS has established specific weight and size limits for the packages that you send with all UPS services.
Learn More About UPS Weight and Size Limitations
Learn More About Shipping Packages Greater Than 70 lbs (32 kg)
Additional weight and size limitations may apply to either your destination or origin country when shipping to and from the United States.Find Country-Specific Weight and Size Limitations |
||
![]() |
Q: I have selected UPS standard, and I get the message "We are sorry, no shipment method matches the characteristics of your order."
A: UPS standard is not a service used for US Domestic deliveries.
http://www.ups.com/content/us/en/shipping/time/service/standard.html describes when this service is used.
Q: This message is displayed: Cannot select UPS shipment Info : This measurement system is not valid for the selected country.
A: Change in the UPS shipment configuration the parameter Local Weight Unit to change from lbs and ounces to Kilograms or vice-versa.
Warning: curl_exec() has been disabled for security reasons in /xxx/yyy/vhosts/mywebsite/plugins/vmshipment/istraxx_ups/istraxx_ups.php on line 868
The function Curl is deactivated on your server. Contact your web hoster to enable it.
Q: My rates are different from the ones I had in VM1
A: The UPS installed in VM1 has using the package type: "Unknown". Select the same package type in the plugin.
Q: Fatal error: Class 'DomDocument' not found in /var/www/html/plugins/vmshipment/istraxx_ups/istraxx_ups.php on line 934A: Check that php-xml is installed on your server. If it is installed, check that the plugin has been correctly installed.
Verifying Shipping Rates
When comparing shipment charges between plugin and the UPS online calculator tool providing the rates, be sure that the requests are identical.
Negociated Rates
Negotiated Rates are available in the UPS Customer Integration Environment and are returned when the Negotiated Rate parameter is set to Yes. The Negotiated Rates returned do not reflect the contractual rate and may vary. (A flat 1% discount is returned).
Shipping rates quoted are estimates based on the information supplied. Other shipping charges may apply and the final shipping charge may differ depending upon UPS Account Number and how the package is tendered to UPS. Please see the applicable UPS Rate and Service Guide for details.
When comparing shipment charges between applications and API providing UPS rates, be sure that the requests are identical. Working through any discrepancies will require knowledge of all parameters posted along with defaults, numeric rounding, and rate table used by the applications being compared.
For more information on UPS Services, refer to the UPS Service Guide
You can check your results against the UPS Quick Cost CalculatorTM web application.
Usefull links
- Hints for how to add a logo for payment and shipment methods
- UPS Rate and Service Guide is a guide provided by UPS that explains the steps involved in preparing and processing the shipment. The section choosing a Service helps you to determine the package service that best meets your needs for domestic, export and import shipping.
- US shipping services : this page lists the different delivery services from US based on your shipment's destination, and gives more information for each of them. Similar pages are available for each country posting countries.
- Learn More About UPS Weight and Size Limitations
Find Country-Specific Weight and Size Limitations
Learn More About Shipping Packages Greater Than 70 lbs (32 kg) - A usefull post on the forum on how to get a UPS Access Key
Complete list of the UPS services depending on the originating country
Please read the UPS Rate and Service Guide, section choosing a Service to determine the package service that best meets your needs, or read this page http://www.ups.com/content/us/en/shipping/time/service/index.htmlUnited States Domestic Shipments
- UPS Next Day Air®
- UPS Second Day Air®
- UPS Ground
- UPS Three-Day Select®
- UPS Next Day Air Saver®
- UPS Next Day Air® Early A.M. SM
- UPS Second Day Air A.M.®
- UPS Saver
Shipments Originating in United States
- UPS Next Day Air®
- UPS Second Day Air®
- UPS Ground
- UPS Worldwide ExpressSM
- UPS Worldwide ExpeditedSM
- UPS Standard
- UPS Three-Day Select®
- UPS Next Day Air® Early A.M. SM
- UPS Worldwide Express PlusSM
- UPS Second Day Air A.M.® 65 UPS Saver
Shipments Originating in Puerto Rico
- UPS Next Day Air®
- UPS Second Day Air®
- UPS Ground
- UPS Worldwide ExpressSM
- UPS Worldwide ExpeditedSM
- UPS Next Day Air® Early A.M. SM
- UPS Worldwide Express PlusSM
- UPS Saver
Shipments Originating in Canada
- UPS Express
- UPS ExpeditedSM
- UPS Worldwide ExpressSM
- UPS Worldwide ExpeditedSM
- UPS Standard
- UPS Three-Day Select®
- UPS Saver
- UPS Express Early A.M. SM
- UPS Worldwide Express PlusSM
- UPS Saver
Shipments Originating in Mexico
- UPS Express
- UPS ExpeditedSM
- UPS Express Plus
- UPS Saver
Polish Domestic Shipments
- UPS Express
- UPS ExpeditedSM
- UPS Standard
- UPS Worldwide Express PlusSM
- UPS Saver
- UPS Today StandardSM
- UPS Today Dedicated CourrierSM
- UPS Today Intercity
- UPS Today Express
- UPS Today Express Saver
Shipments Originating in the European Union
- UPS Express
- UPS ExpeditedSM
- UPS Standard
- UPS Worldwide Express PlusSM
- UPS Saver
Shipments Originating in Other Countries
- UPS Express
- UPS Worldwide ExpeditedSM
- UPS Standard
- UPS Worldwide Express PlusSM
- UPS Saver
Freight Shipments
- Trade Direct Cross Border
- Trade Direct Air
- Trade Direct Ocean
- UPS Freight LTL
- UPS Freight LTL Guaranteed
- UPS Freight LTL Urgent