WooCommerce Services is a feature plugin that integrates hosted services into WooCommerce (3.0+), and currently includes real time USPS and Canada Post shipping rates and the ability to purchase and print USPS shipping labels.
Switch branches/tags
add/async-purchase-endpoint add/b64-pdf-endpoint add/big-labels-modal add/copy-tracking-number-to-clipboard add/intl-labels add/label-printing add/missing-product-details-notice add/nux-jitm-already-connected-jetpack add/ppec-button add/remote-admin-notices add/service-options-jetpack-sync add/set-email-and-order-fulfill-off add/shipment-tracking-integration add/status-page-rest-api-check add/stripe-deferred-account-endpoint add/440-notify-merchant-of-fallback add/1130-shipping-class-support demo fix/backend-tax-calculation-for-deleted-products fix/bundle-loading-on-all-wc-settings-screens fix/coerce-null-to-obj fix/make-i18n-work-again fix/missing-state-from-wp-calypso fix/print-with-no-permalinks fix/rates-uncaught-promise-error fix/remove-beta-readme fix/shipping-method-creation-default fix/update-refspec-for-1.18.0 fix/554-json-meaningful-error fix/653-two-seven-compatibility fix/674-visible-meta fix/855-old-wporg-plugin fix/994-premature-opt-out-tracking fix/1210-add-endpoint-with-tax-subsystem-status fix/1274-order-tracking-settings fix/1309-taxes-total-calculation fix/1315-autoselect-available-credit-card fix/1433-tax-request-no-line-items master q2-nux-rebased-2 release/alpha-v0.3 release/0.9.0 release/0.9.1 release/0.9.2 release/0.9.3 release/0.9.4 release/1.8.0 release/1.8.1 release/1.12.2 release/1.12.3 release/1.13.0 release/1.13.2 release/1.16.0 release/1.18.0 test/stripe-oauth-ui test/wpcom-auth try/add-wc-wizard-step try/auto-setup-jetpack try/calypso-component-inject try/control-taxjar try/nux try/php-codesniffer try/preact try/stripe-connect-test-support try/yarn update-paths update/add-customs-weight-and-value-to-meta update/generic-api-error-messaging update/include-wcs-version-in-request-settings update/node-v8 update/nux-banner-mobile-styles update/nux-flow-logic-for-all-scenarios update/pdf-url-move-to-calypso update/per-request-tos-acceptance update/remove-local-tos-acceptance update/remove-woocommerce-services-from-method-names update/shipping-label-endpoint-to-support-return-labels update/show-meta-box-in-all-cases update/taxjar-integration-1.6.0 update/use-all-calypso-dependencies update/wcs-jp-flow
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/stylesheets Merge pull request #1549 from Automattic/fix/ecomm-plan-style-conflicts Dec 6, 2018
classes Add Stripe OAuth connect action into settings (#1513) Dec 6, 2018
client Add Stripe OAuth connect action into settings (#1513) Dec 6, 2018
i18n Update translation files for new/changed strings. Nov 27, 2018
images Add Stripe banner for connecting existing accounts (#1495) Sep 26, 2018
tasks Ignore no-nodejs-modules eslint rule for node-only helper scripts. Mar 9, 2018
tests Adding a mock logger for shipping classes tests. Sep 14, 2018
wordpress_org_assets Release 1.17.0 (#1519) Oct 25, 2018
.editorconfig add tab rules to editorconfig Apr 1, 2016
.eslintrc.js Refactor :allthethings: to comply with Calypso's CSS naming rules (#1051 Aug 3, 2017
.gitignore Add VS Code files to gitignore. Feb 8, 2018
.nvmrc Update NodeJS version to 10.11.0, to keep up with Calypso (#1511) Oct 10, 2018
.travis.yml Updated the versions matrix to test our code in CI (#1322) Mar 9, 2018
CONTRIBUTING.md Remove “live shipping rates” as a feature in plugin README. (#1515) Oct 24, 2018
CREDITS.md Updates based on feedback. Also added CREDITS.md Apr 19, 2016
LICENSE.md convert LICENSE to md Apr 28, 2016
README.md Remove “live shipping rates” as a feature in plugin README. (#1515) Oct 24, 2018
npm-shrinkwrap.json Using the refspec of the merged PR Dec 5, 2018
package.json Changed plugin & WP versions, added the release notes/changelog Dec 6, 2018
phpunit.xml.dist Added shared packages Sep 8, 2016
readme.txt Adding a missing bracket to readme.txt Dec 6, 2018
webpack.config.js Remove redundant token-field style import and increase specificity in… Dec 3, 2018
woocommerce-services.php Changed plugin & WP versions, added the release notes/changelog Dec 6, 2018

README.md

WooCommerce Services

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.

The current emphasis for WooCommerce Services is to provide "everything you need" to start selling. When combined with the WooCommerce 3.5 setup wizard, your store can have shipping label printing, automated tax calculation, and a ready-to-go Stripe payment account with just a few clicks.

To use the features if you've already installed WooCommerce, 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.

There are many ways to contribute – reporting bugs, feature suggestions and fixing bugs. For full details, please see CONTRIBUTING.md

Getting Started

You need:

  • A WordPress site
  • WooCommerce 2.6+
  • Installation of Jetpack, connected to your WordPress.com account

Using the plugin

If you'd just like to check out the latest release and not contribute code back, then download the latest release and install as a plugin on your WordPress site.

Working with master

If you'd just like to check out the latest code and/or wish to contribute code, then perform the following:

  • Ensure you have git, node, and npm installed on the target machine/server. For maximum compatibility we recommend node version 10.11.0 and npm version 6+
  • Clone this repository into the plugins folder of the WordPress installation.
  • Run npm install to set up all the dependencies
  • You now have two choices:
    • For Development: Add the following to your wp-config.php file: define( 'WOOCOMMERCE_CONNECT_DEV_SERVER_URL', 'http://localhost:8085/' ); and then Run npm start which will start a webpack dev server at localhost:8085, complete with hot reloading whenever you make changes. You will need to keep the npm start task running while developing. You can press ctrl+c to exit this process.
    • For testing or pre-production use: Run npm run dist which will build the files into the dist folder, and will be loaded by the plugin without any additional configuration

Security

Need to report a security vulnerability? Go to https://automattic.com/security/ or directly to our security bug bounty site https://hackerone.com/automattic.

Browser Support

We support the latest two versions of all major browsers, except IE, where we currently only support 11 and Edge. (see Browse Happy for current latest versions).

License

WooCommerce Services is licensed under GNU General Public License v2 (or later).