=== Shipping Live Rates and Access Points for UPS for WooCommerce ===
Contributors: octolize,grola,sebastianpisula
Donate link: https://wordpress.org/plugins/flexible-shipping-ups/
Tags: ups shipping, woocommerce ups, ups api, ups calculator, ups access points
Requires at least: 4.5
Tested up to: 6.9
Stable tag: 3.6.0
Requires PHP: 7.4
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Provide auto-calculated UPS rates and Access Point options. Easy 5-minute setup. Show real prices and nearest pickup points at WooCommerce checkout.

== Description ==

= The best free plugin to display UPS live rates in your WooCommerce store =

Provide your customers with automatically calculated shipping rates for numerous UPS services and let them choose their preferred Access Points. You’ll integrate the plugin in just 5 minutes.

[youtube https://www.youtube.com/watch?v=081i3tbgHy4]

**How does it work?**

The shipping cost is calculated automatically online via UPS API connection, so your clients will see every UPS shipping option in the checkout with its real price. There’s no need to “create an application” on the UPS website.

You can **offer delivery to a UPS Access Point**, too. Allow your customers to pick up packages when and where it’s best for them. Enable Access Points support to let the plugin suggest the nearest points for the customer’s address and save the point to the customer’s order.

**Upgrade to UPS PRO**
Get priority e-mail support and access all PRO features, upgrade to [Flexible Shipping UPS PRO now →](https://octol.io/upsrepoupgrade)

or

**Extend the default UPS functionalities with UPS Labels**
Get the [Flexible Shipping UPS Labels](https://octol.io/upslabels-repo) and create shipments, generate printable UPS shipping labels for placed orders and track parcels directly from your WooCommerce store!

= Features =

* Automatic shipping costs calculator for UPS live rates
* Pickup types selection
* Shipping cost for UPS services based on cart weight and shipping address
* OAuth one-click authorization with your UPS account (REST API)
* Alternative connection via UPS Access Key (XML API)
* UPS negotiated rates
* Nearest UPS Access Point
* Limiting services only to those available for the customer’s address
* Manual UPS services limiting
* UPS SurePost services available for United States shipments
* Ability to add insurance
* Fallback cost in case of connection problems with the UPS API
* All currencies supported by UPS
* Debug mode
* Compatible with WooCommerce Shipping Zones
* Free shipping threshold
* UPS Labels extension compatibility

= PRO Features =

* Automatic box packing for multiple products based on weight and volume
* UPS Access Points selection and search
* Fixed value and percentage handling fees/discounts for UPS rates
* Flat rate for UPS Access Points
* Estimated delivery date displayed at checkout
* Advanced estimated delivery date with maximum time in transit, cutoff and lead time
* Excluding certain days of the week from the estimated delivery date
* Destination address types
* Custom boxes with box weight and padding
* Various box packing methods
* Multi-currency support using WooCommerce currency switcher plugins
* Delivery Confirmation

[Upgrade to PRO Now →](https://octol.io/upsrepoupgrade)

= Available UPS services =

* UPS Express
* UPS Standard
* UPS Worldwide Expedited
* UPS Worldwide Express Plus
* UPS Worldwide Saver
* UPS Worldwide Express Freight
* UPS Worldwide Express Freight Midday
* UPS 2nd Day Air
* UPS 2nd Day Air A.M.
* UPS 3 Day Select
* UPS Ground
* UPS Next Day Air
* UPS Next Day Air Early
* UPS Next Day Air Saver
* UPS Simple Rate
* SurePost Less than 1 lb
* SurePost 1 lb or Greater
* SurePost BPM
* SurePost Media Mail

= Actively developed and supported =

Over **250.000 WooCommerce stores worldwide** use our plugins. We constantly develop them, earning the reputation of authors of stable and high-quality solutions. We are also praised for providing excellent technical support. Join the community of our satisfied plugin users: bet on quality, and let our plugins do the rest.

= The power of Table Rate =

The UPS Live Rates plugin for WooCommerce is now compatible with [Flexible Shipping](https://wordpress.org/plugins/flexible-shipping/) – the most powerful Table Rate shipping plugin for WooCommerce. This provides greater control over delivery costs and allows you to take advantage of both live rates and condition-based shipping costs.

You can now combine the prices from the UPS Live Rates plugin with costs calculated based on price and weight. Moreover, when using [Flexible Shipping PRO](https://octol.io/fs-repo-up), you get access to **15+ conditions**, such as shipping class or product categories. Try for free with [Flexible Shipping](https://wordpress.org/plugins/flexible-shipping/)!

= Conditional Shipping Methods =

Extend the default functionalities and **conditionally display or hide the UPS shipping methods** in your WooCommerce store with the Conditional Shipping Methods plugin. Define the rules when the specific shipping methods should be available to pick by your customers and when not to.

Hide the UPS shipping methods based on:

* Product (Product, Product tag, Product category, Shipping class)
* Cart (Cart total weight, Cart total value)
* Destination & Time (Day of the week, Time of the day, Location)
* Other shipping methods and shipping methods with zero cost.

[Buy Conditional Shipping Methods now →](https://octol.io/csm-repo-ups)

= Docs =

View the dedicated [Flexible Shipping UPS WooCommerce documentation](https://octol.io/ups-repo-docs)

= Support Policy =

We provide limited support for the free version in the [plugin Support Forum](https://wordpress.org/support/plugin/flexible-shipping-ups/). Please upgrade to the PRO version to get priority e-mail support, as well as all PRO features. [Upgrade Now →](https://octol.io/upsrepoupgrade)

= Why should you choose our UPS Live Rates plugin for WooCommerce as a shipping integration in your shop? =

UPS is a well-known and trusted brand – one of the leaders in its category. It delivers 18 million parcels and letters worldwide every day.

* Integrate UPS services with your WooCommerce store via the UPS API.
* Provide your clients with a choice of the brand they trust.
* Integrate UPS services with your store **within a few moments** and offer dynamic UPS rates to your customers.
* Allow your customers to choose the Access Points service.
* Give your customers access to **more than 27,000 locations** across Europe and North America to pick up their online purchases.

This plugin fully integrates with WooCommerce. It lets you add UPS shipping methods to your store’s shipping zones in the WooCommerce shipping settings.

= Interested in plugin translations? =

We are actively looking for contributors to translate this and [other Octolize plugins](https://profiles.wordpress.org/octolize/#content-plugins). Each supported language tremendously helps store owners to conveniently manage shipping operations.

Your translations contribute to the WordPress community at large. Moreover, **we’re glad to offer you discounts** for our PRO plugins and establish long-term collaboration. If you have any translation-related questions, please email us at translations@octolize.com.

Head over here and help us translate this plugin:
[https://translate.wordpress.org/projects/wp-plugins/flexible-shipping-ups/](https://translate.wordpress.org/projects/wp-plugins/flexible-shipping-ups/)

== Installation	 ==

This integration can be easily installed like any other WordPress plugin by following the steps below:

1. Download and unzip the latest zip file release.
2. Upload the entire plugin directory to your **/wp-content/plugins/** path.
3. Activate the plugin using the **Plugins** menu in WordPress sidebar menu.

Optionally you can also try to upload the plugin zip file using **Plugins &rarr; Add New &rarr; Upload Plugin** option from the WordPress sidebar menu. Then go directly to point 3.

== Frequently Asked Questions ==

= What currencies does the plugin support? =

UPS WooCommerce plugin supports every currency which UPS supports. If UPS doesn’t support a given currency, the UPS WooCommerce plugin won’t show it in the checkout.

= Do I need a UPS account? =
Yes. UPS WooCommerce plugin uses your account to make a connection to the UPS API. You can check the API Status in the settings section. Sign up with UPS quickly and easily [on their site](https://www.ups.com/doapp/SignUp).

= How can I configure UPS services? =

There is an option to enable custom services settings. You can set which services are available for your customers. However, UPS WooCommerce shows only services available for a given customer based on their shipping address and products in the cart.

= What is a fallback cost? =

Sometimes API doesn’t respond or return an error. In that case, the UPS shipping method won't be displayed in the checkout. However, you can set the fallback cost. If it is enabled, the flat rate shipping cost will be displayed in the checkout in case of any API errors.

== Screenshots ==

1. UPS general settings
2. Adding a new UPS Live Rates shipping method
3. UPS Live Rates shipping methods added within a shipping zone
4. UPS Live Rates shipping method configuration screen
5. UPS Live Rates custom services' settings
6. UPS SurePost Live Rates custom services' settings
7. UPS Live Rates and Access Points in the checkout

== Changelog ==

= 3.6.0 - 2025-12-11 =
* Added AI chat in plugin settings and shipping method settings

= 3.5.4 - 2025-12-02 =
* Added support for WordPress 6.9

= 3.5.3 - 2025-11-25 =
* Added support for WooCommerce 10.4

= 3.5.2 - 2025-10-30 =
* Updated Shipping Extensions tab

= 3.5.1 - 2025-10-06 =
* Added support for WooCommerce 10.3

= 3.5.0 - 2025-08-25 =
* Changed the notice type in debug mode

= 3.4.5 - 2025-08-21 =
* Fixed Client Credentials Token refresh

= 3.4.4 - 2025-08-11 =
* Added support for WooCommerce 10.2

= 3.4.3 - 2025-08-05 =
* Fixed 404 error on a missing CSS file

= 3.4.2 - 2025-08-04 =
* Added support for WooCommerce 10.1

= 3.4.1 - 2025-07-28 =
* Fixed access points data saving in Block-based checkout
* Fixed help links

= 3.4.0 - 2025-07-21 =
* Added communication regarding the auth code

= 3.3.1 - 2025-06-23 =
* Added support for WooCommerce 10.0

= 3.3.0 - 2025-06-05 =
* Added 3D Packer algorithm
* Added CSAT in shipping method
* Error notices displayed for admins without debug mode enabled
* Changed default services settings
* Changed default pickup type
* Changed SurePost to Ground Saver
* Added info for weight-based API errors

= 3.2.7 - 2025-05-19 =
* Fixed block checkout related scripts loading issue

= 3.2.6 - 2025-04-27 =
* Added support for WordPress 6.8
* Added support for WooCommerce 9.9

= 3.2.5 - 2025-03-10 =
* Added support for WooCommerce 9.8

= 3.2.4 - 2025-01-27 =
* Added support for WooCommerce 9.7

= 3.2.3 - 2025-01-20 =
* Added support for WooCommerce 9.6

= 3.2.2 - 2024-12-10 =
* Fixed translations loading
* Fixed client credentials flow

= 3.2.1 - 2024-11-18 =
* Added support for WooCommerce 9.5

= 3.2.0 - 2024-11-12 =
* Added Client Credentials Flow support in REST API
* Fixed Debug mode logs

= 3.1.0 - 2024-10-29 =
* Added Action Scheduler in token refresh process

= 3.0.0 - 2024-10-22 =
* Added Flexible Shipping Rules Table fields
* Added support for WordPress 6.7

= 2.3.12 - 2024-10-07 =
* Added permissions check in authorization revoke process

= 2.3.11 - 2024-09-27 =
* Added support for WooCommerce 9.4
* Improved authorization revoke process

= 2.3.10 - 2024-09-01 =
* Added support for WooCommerce 9.3

= 2.3.9 - 2024-08-27 =
* Added mutex lock on token refresh
* Fixed single access point REST API request

= 2.3.8 - 2024-08-19 =
* Added ability to close UPS Labels advertisement

= 2.3.7 - 2024-08-05 =
* Added support for WooCommerce 9.2
* Fixed deprecation messages on PHP 8.2

= 2.3.6 - 2024-07-18 =
* Added support for WordPress 6.6

= 2.3.5 - 2024-07-17 =
* Changed logger to WooCommerce logs
* Added UPS Labels advertisement

= 2.3.4 - 2024-06-30 =
* Added support for WooCommerce 9.1

= 2.3.3 - 2024-06-26 =
* Fixed: negotiated rates were not calculated correctly when the API returns a single rate

= 2.3.2 - 2024-06-10 =
* Fixed Chinese Yuan currency handling

= 2.3.1 - 2024-06-02 =
* Added support for WooCommerce 9.0

= 2.3.0 - 2024-05-22 =
* Updated shipping extensions tab

= 2.2.9 - 2024-05-09 =
* Added support for WooCommerce 8.9
* Fixed undefined index notice in logs

= 2.2.8 - 2024-04-18 =
* Added API Type notice

= 2.2.7 - 2024-04-15 =
* Added support for WooCommerce 8.8
* Fixed warning in cart and checkout

= 2.2.6 - 2024-03-25 =
* Added support for WordPress 6.5

= 2.2.5 - 2024-03-10 =
* Fixed AJAX nonce check in op-in form

= 2.2.4 - 2024-03-07 =
* Fixed missing opt-in permission check

= 2.2.3 - 2024-03-05 =
 * Fixed stability of REST API connection with caching plugins, approach 2

= 2.2.2 - 2024-02-28 =
* Added support for WooCommerce 8.7

= 2.2.1 - 2024-02-15 =
* Fixed stability of REST API connection with caching plugins

= 2.2.0 - 2024-02-05 =
* Added support for WooCommerce 8.6
* Added Germanized tax settings check and notice

= 2.1.3 - 2023-12-27 =
* Added support for WooCommerce 8.5

= 2.1.2 - 2023-12-04 =
* Added support for WooCommerce 8.4
* Fixed compatibility with Germanized

= 2.1.1 - 2023-11-10 =
* Fixed missing assets

= 2.1.0 - 2023-11-09 =
* Added support for WooCommerce Checkout Blocks

= 2.0.13 - 2023-11-07 =
* Added support for WordPress 6.4
* Added support for WooCommerce 8.3

= 2.0.12 - 2023-10-16 =
* Fixed REST API negotiated rates

= 2.0.11 - 2023-10-03 =
* Added support for WooCommerce 8.2
* Fixed insurance in REST API

= 2.0.10 - 2023-09-26 =
* Fixed REST API negotiated rates

= 2.0.8 - 2023-09-06 =
* Added support for WooCommerce 8.1

= 2.0.7 - 2023-08-07 =
* Added support for WordPress 6.3

= 2.0.6 - 2023-08-07 =
* Fixed warning on unknown service code

= 2.0.5 - 2023-08-03 =
* Added support for WooCommerce 8.0

= 2.0.4 - 2023-07-10 =
* Changed link label on plugins page (Upgrade -> Buy PRO)

= 2.0.3 - 2023-07-04 =
* Added support for WooCommerce 7.9

= 2.0.2 - 2023-06-14 =
* Fixed prefixed libraries

= 2.0.1 - 2023-06-05 =
* Fixed settings form

= 2.0.0 - 2023-06-05 =
* Added support for OAuth
* Added support for UPS REST API
* Added support for WooCommerce 7.8

= 1.23.6 - 2023-05-10 =
* Added support for WooCommerce 7.7

= 1.23.5 - 2023-04-19 =
* Fixed deprecated messages in PHP 8.1 and newer
* Assets attached only when needed

= 1.23.4 - 2023-03-28 =
* Added support for WordPress 6.2

= 1.23.3 - 2023-03-27 =
* Added information about Simple Rate to info box

= 1.23.2 - 2023-03-02 =
* Added support for WooCommerce 7.5
* Removed service code from API request

= 1.23.1 - 2023-02-07 =
* Added support for WooCommerce 7.4

= 1.23.0 - 2023-01-04 =
* Added support for WooCommerce 7.3
* Updated libraries for custom origin functionality

= 1.22.0 - 2022-12-13 =
* Added the Shipping Extensions tab

= 1.21.0 - 2022-11-23 =
* Added the WooCommerce High-Performance Order Storage (HPOS) compatibility declaration
* Added support for WooCommerce 7.2

= 1.20.1 - 2022-10-24 =
* Added support for WooCommerce 7.1

= 1.20.0 - 2022-10-18 =
* Added support for WordPress 6.1
* Updated Octolize Tracker

= 1.19.1 - 2022-10-03 =
* Added support for WooCommerce 7.0

= 1.19.0 - 2022-08-29 =
* Added onboarding

= 1.18.1 - 2022-08-08 =
* Added support for WooCommerce 6.8

= 1.18.0 - 2022-07-11 =
* Added rates cache

= 1.17.13 - 2022-07-04 =
* Added support for WooCommerce 6.7

= 1.17.12 - 2022-06-20 =
* Optimized composer libraries

= 1.17.11 - 2022-06-06 =
* Added support for WooCommerce 6.6

= 1.17.10 - 2022-05-12 =
* Added support for WordPress 6.0
* Added support for WooCommerce 6.5

= 1.17.9 - 2022-04-19 =
* Added support for WooCommerce 6.4
* Fixed empty packages warnings

= 1.17.8 - 2022-03-23 =
* Fatal Error when wc_empty_cart function not exists

= 1.17.7 - 2022-03-09 =
* Fixed fatal error on missing Interface

= 1.17.6 - 2022-03-02 =
* Added support for WooCommerce 6.3

= 1.17.5 - 2022-01-27 =
* Added support for WooCommerce 6.2

= 1.17.4 - 2022-01-19 =
* Added support for WordPress 5.9
* Fixed connection status checker

= 1.17.3 - 2022-01-11 =
* Added support for WooCommerce 6.1

= 1.17.2 - 2021-12-14 =
* Added support for WooCommerce 6.0

= 1.17.1 - 2021-11-15 =
* Fixed SurePost shipping method description

= 1.17.0 - 2021-11-09 =
* Added support for WooCommerce 5.9
* SurePost services moved to separate shipping method

= 1.16.1 - 2021-10-18 =
* Updated libraries

= 1.16.0 - 2021-10-13 =
* Added support for WooCommerce 5.8
* Changed name of Shipping Method
* Updated libraries

= 1.15.1 - 2021-09-21 =
* Added support for WooCommerce 5.7

= 1.15.0 - 2021-08-05 =
* Added US SurePost services

= 1.14.0 - 2021-07-19 =
* Added ability to get rates without pickup type (not set value)

= 1.13.2 - 2021-05-12 =
* Added support for WooCommerce 5.3

= 1.13.1 - 2021-03-30 =
* Fixed fatal error on some installations on shipping service initialisation

= 1.13.0 - 2021-03-25 =
* Added caching for access points on session level
* Fixed access point support after changing country

= 1.12.0 - 2021-03-02 =
* Added support for multiple pickup types

= 1.11.0 - 2021-01-18 =
* Added support for Free Shipping

= 1.10.3 - 2020-12-07 =
* Added support for WordPress 5.6

= 1.10.2 - 2020-11-12 =
* Added support for WooCommerce 4.7

= 1.10.1 - 2020-10-22 =
* Fixed fatal error: Cannot declare class Flexible_Shipping_UPS_Shipping_Method

= 1.10.0 - 2020-09-01 =
* Added Active Payments plugin integration
* Fixed fatal error when no collection point found for given address

= 1.9.3 - 2020-08-20 =
* Fixed support for WordPress 5.5

= 1.9.2 - 2020-08-10 =
* Added support for WordPress 5.5

= 1.9.1 - 2020-07-29 =
* Fixed search of nearest access point based on destination address

= 1.9.0 - 2020-07-29 =
* Fixed search of nearest access point
* Added informations about additional Pickup Type options
* Added support for WooCommerce 4.4

= 1.8.8 - 2020-05-05 =
* Added support for WooCommerce 4.1

= 1.8.7 - 2020-04-20 =
* Fixed fatal error when collection point not found

= 1.8.6 - 2020-04-02 =
* Added support for WordPress 5.4

= 1.8.5 - 2020-03-09 =
* Added additional security hardenings

= 1.8.4 - 2020-02-19 =
* API Status field functionality moved to other WP Desk library
* Added more messages in debug mode

= 1.8.3 - 2020-02-05 =
* Added minimal package weight: 0.1
* Fixed negotiated rates

= 1.8.2 - 2020-01-27 =
* Fixed conflicts with other shipping plugins

= 1.8.1 - 2020-01-20 =
* Fixed old PRO plugins versions compatibility

= 1.8.0 - 2020-01-20 =
* Added WP Desk Abstract Shipping library

= 1.7.5 - 2019-10-24 =
* Fixed exception when invalid country in AP

= 1.7.4 - 2019-10-23 =
* Added password masking in debug messages

= 1.7.3 - 2019-10-21 =
* Fixed settings for compatibility with newest PRO version

= 1.7.2 - 2019-10-10 =
* Fixed custom rates selection

= 1.7.1 - 2019-10-08 =
* Fixed single rate from API response.

= 1.7.0 - 2019-10-01 =
* Added Access Point description
* Added new rating notice
* Added residential address indicator to rate request

= 1.6.0 - 2019-06-27 =
* Library code is prefixed
* Various phpstan related refactors

= 1.5.2 - 2019-08-12 =
* Added support for WooCommerce 3.7

= 1.5.1 - 2019-06-27 =
* Fixed fatal error in order meta.
* Added multi currency fallback

= 1.5.0 - 2019-06-12 =
* Fixed compatibility with the newest pro version

= 1.4.4 - 2019-05-21 =
* Fixed fallback for WooCommerce 3.6

= 1.4.3 - 2019-05-09 =
* Added compatibility with PRO plugin

= 1.4.2 - 2019-04-08 =
* Added support for WooCommerce 3.6

= 1.4.1 - 2019-03-11 =
* Fixed selected access point saved in order shipping meta data
* Fixed quick link to docs on plugins page

= 1.4.0 - 2019-02-27 =
* Added pickup type parameter

= 1.3.3 - 2019-01-17 =
* Updated library

= 1.3.2 - 2018-12-19 =
* Fixed Drag and Drop icon in custom services

= 1.3.1 - 2018-11-13 =
* Fixed missing tracker data

= 1.3.0 - 2018-11-13 =
* Fixed libraries compatibility problem

= 1.2.1 - 2018-08-20 =
* Added informations about new services

= 1.2 - 2018-08-20 =
* Added ability to show only Access Points Rates
* Fixed custom origin country when country is with state
* Fixed default units (metric/imperial)

= 1.1.3 - 2018-08-06 =
* Added enable custom services by default
* Tweaked display access point fallback rate only when no standard rates added
* Fixed fatal error on countries select box

= 1.1.2 - 2018-06-26 =
* Fixed error with conflict in tracker

= 1.1.1 - 2018-06-25 =
* Tweaked plugin description
* Tweaked tracker to Access Points
* Tweaked tracker data anonymization
* Fixed issue with select2 for Access Points
* Fixed tracker notice

= 1.1 - 2018-05-23 =
* Added functionality for UPS Access Points
* Added support for WooCommerce 3.4

= 1.0.3 - 2018-05-09 =
* Fixed missing state for negotiated rates

= 1.0.2 - 2018-03-06 =
* Fixed problems with deactivation plugin on multisite

= 1.0.1 - 2018-02-27 =
* Fixed warnings from WP Desk Tracker

= 1.0 - 2018-02-08 =
* First release!
