TrackingTech for WooCommerce

Description

TrackingTech for WooCommerce connects your WooCommerce store to your TrackingTech account. After connecting, the plugin can send prepared order data to TrackingTech so your logistics workflow can continue in the external platform.

This plugin sends order data to an external service (TrackingTech API) for logistics and tracking purposes.

Key features:

  • Guided connection flow (credentials + tenant/courier code + store selection). The code you enter is sent to the API as code and validated against the tenant registry before login.
  • Secure AJAX actions with capability checks and nonce validation.
  • Automatic order sync when an order reaches the wc-processing status.
  • Clear connected/disconnected status in WooCommerce admin.

External services

TrackingTech API

This plugin connects to the TrackingTech API. It is required to authenticate the store administrator’s account, resolve the courier configuration, fetch the list of available stores, link the WooCommerce store to the logistics platform, send order data for fulfillment, retrieve synchronized order status, and uninstall the integration remotely.

No data is sent to TrackingTech until the store administrator explicitly clicks “Connect” in WooCommerce > TrackingTech.

During the connection wizard (triggered manually by the administrator), the plugin sends: the courier code entered in the form, a per-site device identifier (a SHA-256 hash derived from the site URL and WordPress auth salt — it identifies the site installation, not any individual user), the platform identifier string “woocommerce”, the administrator’s email address and password, the selected store identifier, and the store URL.

Once the store is connected, the plugin automatically sends order data to TrackingTech every time an order reaches the configured status (default: wc-processing). The order data includes: the order ID, the linked customer identifier, the list of purchased products (name, SKU, quantity, price, and weight if available), and the shipping address (name, address lines, city, state, postcode, country, billing email and billing phone).

The store URL and customer identifier are also sent when the administrator disconnects the integration.

This service is provided by TrackingTech: https://trackingtech.cl — Terms of Service: https://trackingtech.cl/terms.html — Privacy Policy: https://trackingtech.cl/privacy.html

Installation

  1. Upload the trackingtech-for-woocommerce plugin folder to the /wp-content/plugins/ directory, or install the ZIP from the WordPress admin.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Make sure WooCommerce is installed and active.
  4. Go to WooCommerce > TrackingTech and complete the connection wizard.

FAQ

Does this plugin work without WooCommerce?

No. WooCommerce must be installed and active.

Which order status triggers synchronization?

The plugin sends order data when the order reaches wc-processing.

What is the “Courier code” in the connection form?

It is the tenant code validated by the TrackingTech API (code in the resolve request). It must exist and be active in the tenant configuration before you can continue with login and store selection.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“TrackingTech for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.4

  • Improved commune resolution in ShippingMethod for checkouts that use ISO 3166-2 region codes (e.g. CL-RM, used by FunnelKit and native WooCommerce). In that case the commune is taken from the city field instead of treating the region as a commune.
  • Third-party commune plugins (e.g. CL_329 Providencia) keep resolving the commune from state as before.
  • Avoid overwriting destination state/country with empty posted checkout fields during AJAX updates.
  • Pass the precomputed commune name into rate resolution so API lookup and matching stay consistent.
  • Added ISO 3166-2 region-code detection and expanded inline documentation for Chile region vs commune handling.

1.0.3

  • Updated getRates in ApiClient to use a POST request with a structured payload (customer_id, commune_name, destination, items, cart_subtotal).
  • Improved handling of destination and cart items data within the rate retrieval flow for better clarity and accuracy.
  • Updated ShippingMethod to pass destination and commune_name to the API client when fetching shipping rates.
  • Enhanced inline documentation in ApiClient.php to reflect the updated API request format and response structure.

1.0.2

  • Support for rate management is added.
  • Fixed text domain mismatch across all PHP files to match plugin slug (trackingtech-for-woocommerce-dev).
  • Added missing Spanish translations for shipping method title, description, and form fields.
  • Regenerated .mo binary with 90 translated strings for es_ES locale.
  • Updated “Tested up to” to WordPress 7.0.
  • Added plugin icons (icon-128x128.png, icon-256x256.png) for WordPress.org directory listing.

1.0.1

  • Updated API endpoints from testing environment to production environment.
  • Minor internal improvements and configuration updates.

1.0.0

  • Initial release: guided connection (resolve + login + store selection), order sync at wc-processing, uninstall hook, admin status UI.
  • Tenant resolve request includes code, fixed platform string woocommerce, and per-site deviceId (SHA-256 of site URL + WordPress auth salt), matching the TrackingTech API validator.