=== WooCommerce Services ===
Contributors: automattic, woothemes, allendav, kellychoffman, jkudish, jeffstieler, nabsul, robobot3000, danreylop, mikeyarce, shaunkuschel, orangesareorange, pauldechov, dappermountain, radogeorgiev
Tags: shipping, stamps, usps, woocommerce, taxes, payment, stripe
Requires at least: 4.6
Tested up to: 5.0.3
Stable tag: 1.19.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Hosted services for WooCommerce including automated tax calculation, shipping label printing, and smoother payment setup.

== Description ==

WooCommerce Services makes basic eCommerce features like shipping more reliable by taking the burden off of your site’s infrastructure.

With WooCommerce Services, critical services are hosted on Automattic’s best-in-class infrastructure, rather than relying on your store’s hosting. That means your store will be more stable and faster.

To use the features, simply install this plugin and activate the ones you want directly in your dashboard. As we add more services, you’ll see more features available directly in WooCommerce - making setup simpler.

= Print shipping labels for USPS at a discounted rate =
Give customers lower rates on their shipping. Create ready-to-print shipping labels for USPS directly in WooCommerce and take advantage of our special discount rate.

= Collect accurate taxes at checkout =
We've got taxes for you - no need to enter tax rates manually.

= Be ready to accept payments instantly =
Have a Stripe account created on your behalf or accept PayPal Checkout payments without having to setup an account.

== Installation ==

This section describes how to install the plugin and get it working.

1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or install the plugin through the WordPress plugins screen directly.
1. Activate the plugin through the 'Plugins' screen in WordPress
1. Install and activate WooCommerce if you haven't already done so
1. Install, activate and connect Jetpack if you haven't already done so
1. Want to buy shipping labels? First, add your credit card to https://wordpress.com/me/purchases/billing and then print labels for orders right from the Edit Order page
1. Enable automated taxes from WooCommerce > Settings > Tax (make sure "enable taxes" is checked in General settings first)

== Frequently Asked Questions ==

= What services are included? =

* USPS label purchase/printing
* Automated tax calculation
* Stripe account provisioning (through WooCommerce setup wizard)
* PayPal Checkout payment authorization

= Can I buy and print shipping labels for US domestic and international packages? =

Yes! You can buy and print USPS shipping labels for domestic and international destinations.

= This works with WooCommerce, right? =

Yep! WooCommerce version 3.0 or newer, please.

= Why is a Jetpack Connection and WordPress.com account required? =

We use the Jetpack connection to authenticate each request and, if you use the shipping label service, to charge your credit card on file.

= Are there Terms of Service and data usage policies? =

Absolutely! You can read our Terms of Service [here](https://en.wordpress.com/tos) and our data policy [here](https://jetpack.com/support/what-data-does-jetpack-sync/).

= Where can I see the source code for this plugin? =

The source code is freely available [in GitHub](https://github.com/Automattic/woocommerce-services).

= Can I show shipping rates at checkout? =

As of the WooCommerce 3.5 release, WooCommerce Services no longer provides shipping rates for new stores. If you're already using shipping rates in WooCommerce Services, they will continue to work.

== Screenshots ==

1. Buying a USPS shipping label for an order
2. Setting up custom packages
3. Selecting your preferred payment method
4. Enabling automated taxes
5. Creating a Stripe account from the setup wizard
6. Checking on the health of WooCommerce Services
7. Checking and exporting the label purchase reports

== Changelog ==

= 1.19.0 =

* Communicate HTTPS requirement when connecting to Stripe
* Avoid showing 'Shipping options' at the bottom of the WooCommerce Services shipping settings page
* Fix a small misalignment of checkmarks in our checkboxes
* Fix the WC native tax override function by adding a missing return statement

= 1.18.0 =

* Add compatibility with WordPress 5.0
* Add compatibility with the WordPress.com eCommerce plan
* Add packing logs to the front-end (with debug enabled) and back-end (order detail screens)
* When purchasing a shipping label, allow addresses to be entered without verification
* Make the shipping label purchase process more robust, allowing retries when the label image failed to download
* UI improvements to the shipping label address form
* Allow connecting a Stripe account directly from the Stripe settings page
* Updated behavior of the shipping phone field in order to prevent conflicts with other plugins

= 1.17.1 =
* Fix the issue with disappearing shipping method settings when Stripe extension is enabled

= 1.17.0 =
* Restrict shipping methods to certain shipping classes
* Improve Stripe onboarding and show connected account in settings
* Fix label printing bug in iOS 12
* Make the HS Tariff Code optional for international shipments
* Hide ineligible package types for international shipments

= 1.16.1 =
* Clear shipping rates when changing package weight or signature requirement so they can be recalculated
* Correctly purchase a "First Class Envelope" or a "First Class Package Service" label depending if the package is an envelope or not

= 1.16.0 =
* Add international destinations support to USPS label printing
* Fix bug with Shipping Label pointer dismissal when creating a label for the first time
* Fix z-index issue with purchased shipping label ellipsis menu components
* Prevent checkout with invalid ZIP code when using Automated Taxes
* Fix tax calculation with multiple line items sharing product tax class
* Display native tax tables for custom rates
* Add street-level accuracy for tax calculation

= 1.15.1 =
* Fix the "Save changes" button staying disabled after failing to save the shipping method settings
* Remove emojis from the shipping rates messages, they were causing problems at checkout on sites with a non-default MySQL charset configuration

= 1.15.0 =
* Several bugfixes and improvements for Automated Taxes
* Immediately save the shipping method configuration when it's added to a shipping zone
* Allow to bypass the address verification when purchasing a shipping label
* Show which WordPress.com user can add a credit card for shipping label purchases
* Tweak the list of purchased labels for an order so it's less cluttered

= 1.14.1 =
* Fix error when adding shipping method price adjustments

= 1.14.0 =
* GDPR - Added WCS section to the privacy policy guide
* GDPR - Support for personal data export functionality
* GDPR - Support for personal data erasure functionality
* Minor changes to the settings page UI
* Fix the PHP warning on the Status page when logs are empty
* Fix log file retrieval on Status page to work with new WC 3.4 format that includes the date
* Add error message on manual service data refresh failure

= 1.13.3 =
* Fix broken admin after product featured in 'missing weight' notice is deleted

= 1.13.2 =
* Fix PHP Warning when the server cannot be reached for shipping rates or products are missing dimensions

= 1.13.1 =
* Fix PHP Warning for individually packed shipping rates

= 1.13.0 =
* Show customer selected shipping rate when purchasing a shipping label
* Add shipping labels to Reports
* Add USPS signature requirement support to label purchase
* Add link to view receipt for Shipping Labels
* Fix bug showing incorrect shipping label rates when changing packages
* Fix styling for purchasing shipping labels on mobile devices
* Prevent incompatible settings for Automated Taxes
* Fix duplicate "packages" section in Shipping Settings (Advanced Shipping Packages extension compatibility)
* Add "copy to clipboard" button to debug logs on Status page
* Improved error messaging
* Fix unnecessary shipping rates requests made in the Dashboard
* Fix PHP Warning when saving Tax settings
* Add caching to Shipping Rate requests

= 1.12.3 =
* Fixed PHP Fatal when PayPal Express Checkout has not fully initialized

= 1.12.2 =
* Fix some REST API calls being erroneously cached by certain hosting providers

= 1.12.1 =
* Fix missing file in 1.12.0 plugin release

= 1.12.0 =
* Add email receipts for purchased shipping labels
* Clean up Stripe account keys when deauthorized
* Fix bug in database migration script for older plugin versions
* Add "back to order" link when adding a credit card from order details
* Add frontend debugging messages for shipping rates
* Separate troubleshooting logs by feature (taxes, shipping, etc)
* Avoid making unnecessary automated tax requests
* Fix PHP Fatal bug in tax request error handling
* Integrate with WooCommerce Shipment Tracking extension
* Add Conditional Shipping and Payments compatibility

= 1.11.0 =
* Fix bug with TOS acceptance on WordPress Multisite
* Add PayPal Express Checkout payment authorization
* No longer require phone number for label purchases
* Fix bug with label print button on Firefox

= 1.10.1 =
* Fix bug with product variation names in Packaging description

= 1.10.0 =
* Add WooCommerce compatibility to plugin header
* Add ability to refresh server schemas from status page
* Fix tax calculations for subscription products
* Fix "limit usage to X items" coupon tax calculation
* Fix tax calculation for product bundles and add-ons
* Make phone number optional for shipping labels
* Only allow label printing for stores using USD
* Add label printing for stores in Puerto Rico

= 1.9.1 =
* Fix PHP Warning when Jetpack is disabled or missing
* Fix plain permalinks support

= 1.9.0 =
* Add tracking numbers to completed order emails
* Add USPS support for Puerto Rico
* Fix some tax bugs related to discount calculation and taxable address
* Updated Calypso-based UI

= 1.8.3 =
* Fix tax calculation in order total bug (WooCommerce 3.2+)

= 1.8.2 =
* Fix crash in the WooCommerce setup wizard when picking a supported country but an unsupported currency

= 1.8.1 =
* Fix label printing on iOS
* Fix NUX banner images and connect button

= 1.8.0 =
* Automatically configure live rates based on setup wizard choices
* Add automated tax calculation
* Add deferred Stripe account setup (if chosen in wizard)

= 1.7.1 =
* Support plain permalinks setting
* Fix PHP Fatal error when order contains a deleted product
* Fix use of non-SSL URLs in plugin header
* Fix some React console warnings
* Add asynchronous label purchase flow (will be used for future performance gains)

= 1.7.0 =
* Fix bug that allows accidental double click of label purchase button
* More immediate display of purchased labels on order detail screen
* Fix bug that showed settings screen links before Terms of Service are accepted
* No longer override package weight when changing type if specified by user
* Several small appearance tweaks (alignment, spacing)

= 1.6.2 =
* Fix spacing bug in purchased label display
* Fix bug with "create label" flow on WooCommerce 3.1.0

= 1.6.1 =
* Better UX when selecting shipping label payment method

= 1.6.0 =
* New streamlined onboarding process for plugin dependencies
* Better packaging workflow for orders not using live rates at checkout
* Improved discovery for label printing
* Fix bug with test label printing on status page

= 1.5.0 =
* Handle decoding errors retrieving older package data from orders
* Code cleanup - React 16 prep, better i18n support
* Fix PHP error when order has no packaging info
* Updated shipping label settings to include paper size
* Fix missing item bug with individually packaged products
* Fix display bug in "saved for later" item list
* Fix PHP error when using Jetpack in development mode

= 1.4.1 =
* Fix deleted product bug in labels UI
* Tweak Accept-Language header

= 1.4.0 =
* WooCommerce 3.0 compatibility
* Add test label print to system status page
* Remove shipping label preview
* Better handling of logged out users
* Add contextual plugin link to WooCommerce.com support form
* Fix bug when purchasing additional shipping labels without a page refresh
* Better NUX flow when Jetpack missing or inactive
* Temporarily remove label support for military addresses (requires customs form)
* Fix bug where predefined USPS packages weren't being sent in requests

= 1.3.2 =
* Hide destination address normalized order meta
* Log rate retrieval failures as errors with admin notice

= 1.3.1 =
* Fix compatibility bug with `mod_security`
* Update shipping address on order when corrected by API

= 1.3.0 =
* Fix label PDF viewing in IE, Microsoft Edge, and Firefox
* Fix label modal width issue in Internet Explorer 11
* Don't initially show red error highlights for missing label destination address
* Labels: Fix escaped HTML showing in product variation names
* Remove unused icon font, reducing CSS size
* Fix tax rate calculation for shipping
* Fix WP Super Cache label printing bug

= 1.2.0 =
* Improve label printing flow when origin or destination addresses need modification
* More descriptive text in pointer notice for setting up a WCS shipping method
* Remove plugin options during uninstall
* Prevent a label rates request when prerequisite data needs modification
* Include more information when JSON parsing fails
* Fix compatibility issues with Internet Explorer 11 and Microsoft Edge browsers
* Add version to plugin script and style includes
* Reduce size of CSS and JS files
* Fix incompatibility with existing WooCommerce USPS extension

= 1.1.1 =
* Update plugin support documentation link
* Fix bug related to tracking Terms of Service acceptance

= 1.1.0 =
* Fetch service schemas earlier - fix bug where no shipping methods displayed
* Fix bug related to tracking Terms of Service acceptance too early
* Display label number relative to order instead of ID
* Clear shipping rates cache when shipping settings change
* Ensure only the Jetpack connection owner can accept the Terms of Service
* Better visiblity into which shipping services are selected
* Add hint for first shipping method instance configuration

= 1.0.0 =
* Improve logging for rates request errors
* Fix a rates bug with individually packaged items
* Add an easier UI to select grouped shipping services
* Fix a database table prefix bug
* Fix a bug allowing an errant double-purchase of labels
* Always retrieve a refunded label's status
* Save the shipping label origin address for reuse earlier
* Add a fallback rate for USPS
* Recommend checking logs when errors occur
* Fix bug showing the wrong label purchase amount when requesting refunds
* Add tooltip explaining what shipping service price adjustments are
* Notify admins when products are missing dimensions when retrieving rates
* Improve terms of service message
* Improve user experience with form validation
* Move the settings under WooCommerce > Shipping
* Automatically enable flat rate packages when their corresponding service is enabled
* Improve the on-boarding experience for new users
* Show the card information being used to purchase labels
* Don't allow the labels flow to be entered without a selected payment method

= 0.9.5 =
* Add non-flat-rate predefined USPS packaging
* Add enhanced labels metabox with tracking info, reprint button, and refunds
* Allow payment methods to be managed in Jetpack "Developer Mode"
* Add messaging in labels dialog when no packages are configured
* Fix label preview display bug
* Fix a bug with variable product dimensions

= 0.9.4 =
* Fix a bug that caused a packages error in the labels UI when checkout used free shipping
* Tweak to the refund request success message
* Fix to avoid a WP_User error notice when editing payment methods
* Fix a React version error that was happening when editing shipping settings
* Only allow the primary Jetpack user to select payment method

= 0.9.3 =
* Improvements for phone validation error messages
* Increase the remote request timeout
* Adds USPS flat rate packages to the packaging manager
* Store the origin address when the label is purchased
* Clean-up a few React errors in the console
* Tweak the Jetpack status message
* Auto-accept address normalizations in labels UI if they are trivial
* Make sure notices appear on top of (not beneath) the labels UI
* CSS clean-up
* Fix an error where clicking outside the labels UI modal did not always close it
* Fix incorrect service counts in shipping method instance group headers
* Remove inappropriate target blank in certain anchors
* Fix timestamp presentation for label refunds
* Fix empty dimension handling and dimension casting

= 0.9.2 =
* Fix a fatal error that could happen on activation if WooCommerce or Jetpack were not present
* Send order shipping information with label rate requests to allow for pre-selection

= 0.9.1 =
* Update contributors to include a few we missed
* Add USPS flat-rate packaging support to the packaging manager
* Improvements to label preview
* Ensure self-help works even if connect is unable to download the service schemas
* Switch to PDF based multi-page labels

= 0.9.0 =
* Beta release

== Upgrade Notice ==

= 0.9.0 =
Beta release
