Title: OrderKrab for WooCommerce
Author: orderkrab
Published: <strong>May 12, 2026</strong>
Last modified: November 10, 2026

---

Search plugins

![](https://ps.w.org/orderkrab-for-woocommerce/assets/icon-256x256.png?rev=3529731)

# OrderKrab for WooCommerce

 By [orderkrab](https://profiles.wordpress.org/orderkrab/)

[Download](https://downloads.wordpress.org/plugin/orderkrab-for-woocommerce.1.9.0.zip)

 * [Details](https://en-au.wordpress.org/plugins/orderkrab-for-woocommerce/#description)
 * [Reviews](https://en-au.wordpress.org/plugins/orderkrab-for-woocommerce/#reviews)
 *  [Installation](https://en-au.wordpress.org/plugins/orderkrab-for-woocommerce/#installation)
 * [Development](https://en-au.wordpress.org/plugins/orderkrab-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/orderkrab-for-woocommerce/)

## Description

OrderKrab for WooCommerce is a thin integration between WooCommerce and the OrderKrab
fulfillment platform. It lets a WooCommerce store offer carrier-driven shipping 
rates and parcel locker selection at checkout, then keeps order state in sync with
OrderKrab as the order moves through fulfillment.

**What it does**

 * Adds a shipping method that returns rates from the OrderKrab API, including parcel
   locker pricing per carrier.
 * Renders a parcel locker search field at checkout (native or Shopify-style block).
 * Works with the WooCommerce Cart and Checkout blocks as well as the classic checkout.
   In the Checkout block, the parcel locker search appears under Shipping options
   when a parcel locker rate is selected, and the order can’t be placed until a 
   locker is picked.
 * Syncs newly created and updated WooCommerce orders to OrderKrab.
 * Provides an hourly batch reconciliation for any orders that didn’t sync in real
   time.
 * Receives webhooks from OrderKrab for order, product, and connection status updates.
 * Embeds the hosted OrderKrab return portal on any page — via a Gutenberg block
   or the `[orderkrab_return_portal]` shortcode — so customers can register returns
   without leaving the store.
 * Emails customers their return shipping label as a real WooCommerce email when
   a return is approved in OrderKrab, and records the return on the order.
 * Optionally adds the shipment tracking number and a “Track your shipment” button
   to the customer’s “Completed order” email when OrderKrab fulfils the order (one
   switch under **OrderKrab  Emails**).

**Who it’s for**

Stores that already use (or plan to use) the OrderKrab fulfillment platform to manage
shipping with carriers like DPD, LP Express, Omniva, InPost, FedEx, DHL, and others.

### External services

This plugin connects to the OrderKrab API (`https://api.orderkrab.com`) — the configured
base URL is shown in the plugin’s Connection settings and can be overridden by store
administrators.

**What is sent and when:**

 * When a customer reaches checkout, the plugin sends the shipping destination (
   country, postcode, city) and cart contents to OrderKrab to retrieve available
   shipping methods and prices.
 * When a customer searches for a parcel locker, the plugin sends the search query
   plus destination country/city to OrderKrab to retrieve matching locker locations.
 * When an order is created or updated in WooCommerce, the plugin sends the order
   details (line items, shipping address, totals, selected shipping method) to OrderKrab
   so fulfillment can be coordinated.
 * The plugin authenticates each request using an access token that the store administrator
   pastes into the plugin’s Connection tab.
 * When a visitor opens a page containing the return portal block or shortcode, 
   their browser loads the hosted OrderKrab return portal (`https://returns.orderkrab.
   com`) in an iframe. The store’s portal token, the display language, and any theme
   colors configured under OrderKrab  Returns are passed as URL parameters so the
   portal can identify the store and match its styling.

**Why an external service is required:** carrier rate calculation, parcel locker
availability lookups, and label/tracking generation depend on real-time data from
carriers, which is aggregated by OrderKrab and cannot be performed locally by the
plugin.

**Provider links:**

 * OrderKrab website: https://orderkrab.com
 * Terms of Service: https://orderkrab.com/terms
 * Privacy Policy: https://orderkrab.com/privacy

## Screenshots

[⌊The Connection tab — paste your OrderKrab access token and connect the store to
the OrderKrab API.⌉⌊The Connection tab — paste your OrderKrab access token and connect
the store to the OrderKrab API.⌉[

The Connection tab — paste your OrderKrab access token and connect the store to 
the OrderKrab API.

[⌊The Display tab — choose between the Native and Shopify-style shipping blocks 
and customize the styling. Includes a live preview.⌉⌊The Display tab — choose between
the Native and Shopify-style shipping blocks and customize the styling. Includes
a live preview.⌉[

The Display tab — choose between the Native and Shopify-style shipping blocks and
customize the styling. Includes a live preview.

[⌊The Shopify-style shipping block at checkout — distance-based parcel locker options
with carrier logos and selectable lockers.⌉⌊The Shopify-style shipping block at 
checkout — distance-based parcel locker options with carrier logos and selectable
lockers.⌉[

The Shopify-style shipping block at checkout — distance-based parcel locker options
with carrier logos and selectable lockers.

[⌊The Native shipping block at checkout — WooCommerce shipping methods with an inline
parcel locker search field.⌉⌊The Native shipping block at checkout — WooCommerce
shipping methods with an inline parcel locker search field.⌉[

The Native shipping block at checkout — WooCommerce shipping methods with an inline
parcel locker search field.

## Blocks

This plugin provides 2 blocks.

 *   OrderKrab Order Tracking
 *   OrderKrab Return Portal

## Installation

 1. Upload the plugin ZIP via **Plugins  Add New  Upload Plugin**, or extract the folder
    into `wp-content/plugins/`.
 2. Activate the plugin through the **Plugins** screen in WordPress.
 3. Make sure WooCommerce is installed and active (the plugin requires it).
 4. Go to **OrderKrab  Connection** in the WordPress admin, paste your OrderKrab access
    token, and click **Connect to OrderKrab**.
 5. Configure shipping methods and display options under **OrderKrab  Display**.
 6. Optionally turn on tracking details in the customer “Completed order” email under**
    OrderKrab  Emails**.

## FAQ

### Do I need an OrderKrab account?

Yes. The plugin is a client for the OrderKrab fulfillment service; you’ll need an
account and an access token to use it.

### Does the plugin work without WooCommerce?

No. WooCommerce is a hard requirement; the plugin will not bootstrap if WooCommerce
isn’t active.

### What WordPress and PHP versions are supported?

WordPress 6.0 or higher and PHP 8.0 or higher.

### How do I add the return portal to my store?

Generate a portal token in OrderKrab admin  Returns  Settings, paste it under **
OrderKrab  Returns** in WordPress, then add the “OrderKrab Return Portal” block (
or the `[orderkrab_return_portal]` shortcode) to any page.

### Where can I get help?

Reach the OrderKrab team via https://orderkrab.com.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

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

Contributors

 *   [ orderkrab ](https://profiles.wordpress.org/orderkrab/)

[Translate “OrderKrab for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/orderkrab-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/orderkrab-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/orderkrab-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/orderkrab-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/orderkrab-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.9.0

 * Added order tracking: the “OrderKrab Order Tracking” block and the [orderkrab_order_tracking]
   shortcode put a tracking page on the store, where customers find an order by 
   its number and email and see every parcel with its status, carrier events and
   carrier link. It has its own tab, OrderKrab  Order tracking, with the setup steps,
   the pages that already show it, and its own portal token, size, language and 
   colors. When “Send customers to the tracking page” is on in OrderKrab admin  
   Order tracking, the tracking link in the shipping email opens the order on that
   page.
 * Added support for the WooCommerce Cart and Checkout blocks. In the Checkout block,
   the parcel locker search now appears under Shipping options when a parcel locker
   rate is selected. The chosen locker is saved on the order and sent to OrderKrab
   the same way as on the classic checkout, and the order can’t be placed until 
   a locker is picked. Where the search is not shown, such as express payment buttons(
   Apple Pay, Google Pay) or the Cart block, orders go through as before. The plugin
   now declares Cart and Checkout block compatibility, so the block editor no longer
   lists it as incompatible.
 * Fixed the clear button and dropdown arrow of the parcel locker search, which 
   some themes (Woodmart among them) shrank to nothing.
 * Fixed the “After shipping form” placement of the parcel locker search. WooCommerce
   prints that spot inside the “Ship to a different address?” section, so customers
   who ship to their billing address could not see the search but were still asked
   to pick a locker. The search now appears directly under the shipping section,
   whether or not that box is ticked.
 * Fixed “Automatically translate parcel locker search label” set to No on the classic
   checkout: after the customer changed the shipping method, the search text still
   switched to the language of the shipping country.
 * The Shopify-style layout still applies to the classic checkout only. In the Checkout
   block, its rates, including one rate per nearby parcel locker, are listed in 
   the block’s own Shipping options.
 * Fixed paid orders sometimes showing “Waiting for payment” in OrderKrab. The plugin
   sends the order to OrderKrab on every save, and it used the copy of the order
   held by whichever code saved it. A copy loaded before the payment (a payment 
   plugin’s return page, a thank-you page plugin, a payment webhook) still said “
   pending” and could overwrite the payment. The order status and payment status
   are now read from the stored order.
 * Orders in a status of the store’s own (for example “Shipped”) now reach OrderKrab
   as paid when WooCommerce recorded the payment. They used to show as unpaid.

#### 1.8.0

 * The plugin now ships with a Lithuanian translation (`lt_LT`). Stores running 
   WordPress in Lithuanian get the shipment tracking block, the return label email,
   the checkout parcel locker search, order notes, and the OrderKrab admin screens
   in Lithuanian out of the box, with no Loco Translate or template edits. A translation
   already installed on the site (`wp-content/languages/plugins/` or Loco Translate)
   still takes precedence over the bundled file.
 * Added `languages/orderkrab-for-woocommerce.pot` so other languages can be translated
   with Loco Translate or Poedit.
 * Declared compatibility with WooCommerce High-Performance Order Storage (HPOS);
   the plugin already used only the WooCommerce order CRUD API. The plugin header
   now states the supported WooCommerce range (8.0 to 11.1), and the plugin is tested
   with WordPress 7.1.

#### 1.7.0

 * New **OrderKrab  Emails** tab with a single switch: when it is on and OrderKrab
   fulfils an order, the customer’s “Completed order” email includes the shipment
   tracking number and a “Track your shipment” button linking to the carrier’s tracking
   page (for store pickup, where there is no tracking page, only the number is shown).
   The switch is **off by default**, so updating changes nothing for stores that
   already show the tracking another way, such as the snippet from the OrderKrab
   help guide or an email customizer plugin; new stores turn it on with one click.
 * The block is rendered inside the standard WooCommerce email by two new theme-
   overridable templates, `emails/orderkrab-tracking-info.php` and its `emails/plain/`
   counterpart, so store branding, subject, heading, and on/off of the email itself
   stay under **WooCommerce  Settings  Emails  Completed order**.
 * Added the `orderkrab_wc_tracking_email_ids` filter to choose which WooCommerce
   emails carry the tracking block (default: the customer completed-order email),
   for stores that use a custom “shipped” email.

#### 1.6.0

 * Orders now carry Extra Product Options (ThemeComplete) selections as plain line-
   item metadata. Each filled option becomes a label/value pair, and file uploads
   are sent as the uploaded file’s URL, so phone models, engravings, uploaded photos
   and similar per-item choices show up on the order item in OrderKrab. The plugin’s
   internal option blobs (`_tmcartepo_data`, `_tm_epo*`, `_tmdata`, `_tmpost_data`)
   are no longer forwarded, and duplicate or blank meta rows are dropped.

#### 1.5.0

 * Added inventory sync endpoints for OrderKrab warehouse customers. `GET /wp-json/
   orderkrab/v1/inventory/levels` returns a paginated feed of products and variations
   with their stock fields (including `global_unique_id` on WooCommerce 9.2+), and`
   POST /wp-json/orderkrab/v1/inventory/adjustments` applies batched relative stock
   adjustments atomically, with per-adjustment idempotency keys so a retried request
   can never move stock twice. Both endpoints use the same HMAC signature as the
   existing OrderKrab endpoints.
 * Stock changes (including order-driven reductions) are now reported to OrderKrab
   as debounced, batched events via Action Scheduler. Delivery is best-effort by
   design: failures are retried once per cycle and anything missed is corrected 
   by OrderKrab’s nightly reconciliation. Can be disabled with the `orderkrab_wc_stock_events_enabled`
   filter.
 * Added a small database table (`orderkrab_inventory_adjustments`) that records
   applied adjustment idempotency keys; it is created on update and removed on uninstall.

#### 1.4.0

 * Added a return portal embed, the WooCommerce counterpart of the OrderKrab Shopify
   return portal block. A new **OrderKrab  Returns** tab holds the portal token (
   generated in OrderKrab admin  Returns  Settings), max width, iframe height, default
   language (auto = match site language, WPML/Polylang aware), and seven optional
   portal theme colors.
 * The portal can be placed on any page with the “OrderKrab Return Portal” Gutenberg
   block or the `[orderkrab_return_portal]` shortcode; both share one renderer, 
   and height, max width, and language can be overridden per placement (e.g. `[orderkrab_return_portal
   height="1100" lang="lt"]`).
 * The embed reproduces the Shopify block’s behavior: same iframe URL contract (`
   shop_jwt`, `lang`, color query parameters), forgiving URL handling (missing scheme,
   trailing slash), and a fit script that centers the iframe in the viewport at 
   max width regardless of the theme’s content column. Front-end assets load only
   on pages that actually render the portal.
 * When no portal token is configured, the page shows a setup notice to store managers
   only — visitors see nothing.
 * The OrderKrab admin menu now uses the OrderKrab logo mark as its icon instead
   of a generic dashicon (recolored automatically by WordPress to match the admin
   color scheme). The return portal block uses the same mark in the editor.
 * The Return portal URL field is read-only by default, matching the API Base URL
   field’s protection against accidental edits.
 * Added a return-creation endpoint (`POST /wp-json/orderkrab/v1/orders/{id}/return`,
   HMAC-signed like the other OrderKrab endpoints). When a return is approved in
   OrderKrab, the plugin records it on the order (meta + order note) and emails 
   the customer the return shipping label with a download button and tracking link.
 * The label email is a real WooCommerce email — “Return label (OrderKrab)” under**
   WooCommerce  Settings  Emails** — so it uses the store’s email branding and from-
   address, the subject/heading/additional content are editable, it can be disabled,
   and its templates can be overridden in the theme like any WooCommerce email.
 * The return endpoint is idempotent per return request, so OrderKrab-side retries
   never email the customer the same label twice; if the email is disabled or fails,
   the order note says so and includes the label URL for manual handling, and OrderKrab
   admin shows the request as not customer-notified.

#### 1.3.0

 * Added a bulk order status endpoint (`POST /wp-json/orderkrab/v1/orders/status/
   batch`) so OrderKrab can update up to 50 orders per request instead of one request
   per order. Batches are processed within a time budget and any orders not reached
   are returned as `unprocessed` for the caller to re-send; item updates are idempotent,
   so re-sending is safe and produces no duplicate order notes.
 * The bulk endpoint reports per-order results and leaves orders that are already
   cancelled, refunded, or trashed untouched (`skipped_final_status`).
 * Outgoing requests to the OrderKrab API now include an `X-Orderkrab-Plugin-Version`
   header so the platform can detect per-store plugin capabilities.

#### 1.2.6

 * The API Base URL field on the Connection tab is now read-only by default. The
   default production endpoint (https://api.orderkrab.com) is shown but cannot be
   edited through the normal UI, protecting store owners from accidentally pointing
   the plugin at a different host.

#### 1.2.5

 * Added an orientation card and prominent “Open OrderKrab admin” button at the 
   top of the Connection tab so store owners can reach the OrderKrab dashboard (
   admin.orderkrab.com) where fulfillment is actually managed.

#### 1.2.4

 * Fixed: “Connect to OrderKrab” still failed in 1.2.3 because `wc_rest_generate_keys()`
   is not actually a public WooCommerce function in all installations. The plugin
   now falls back to inserting the WooCommerce REST API key row directly when WooCommerce’s
   helper is unavailable, mirroring how WC’s own admin UI generates keys internally.
 * The fallback no longer introspects the WooCommerce API keys table with `SHOW 
   COLUMNS` — it writes only the core columns and lets the database default any 
   optional fields.

#### 1.2.3

 * Fixed: “WooCommerce REST helper unavailable” error when clicking **Connect to
   OrderKrab**. The plugin now loads `wc-rest-functions.php` on demand via WooCommerce’s
   own `WC()->plugin_path()` getter (or `WC_ABSPATH` as a fallback). WooCommerce
   only auto-includes this file during REST API requests, not on every admin request,
   so a manual `require_once` is needed before calling `wc_rest_generate_keys()`
   from an admin context.

#### 1.2.2

 * Removed code that filtered another plugin’s admin notices, per WordPress.org 
   Guideline 11.
 * Added an `uninstall.php` handler that removes the integration user, the WooCommerce
   REST API key row, and all plugin options when the plugin is deleted.
 * Added a per-IP transient rate limit to the public `/orderkrab/v1/shipping-points`
   REST endpoint to protect against abuse of the merchant’s upstream API.
 * Replaced inline `file_get_contents()` SVG output in the parcel locker search 
   with `<img>` tags pointing at the bundled asset URLs, in line with WordPress’s
   escape-on-output rule.
 * Wrapper, style, and method-id attributes in the parcel locker search are now 
   built and escaped at the point of output rather than passed through pre-baked
   attribute strings.
 * Removed the manual WooCommerce REST API key fallback (and its `SHOW COLUMNS` 
   introspection queries). With WooCommerce now declared as a hard dependency, `
   wc_rest_generate_keys()` is always available.
 * Removed the diagnostic `error_log()` call that ran when WooCommerce REST helpers
   were unavailable.
 * Excluded screenshots from the production ZIP; they live in the WordPress.org `/
   assets/` SVN folder instead.

#### 1.2.1

 * Declared WooCommerce as a formal plugin dependency via the `Requires Plugins`
   header.
 * Removed an unreliable hardcoded fallback to `WP_PLUGIN_DIR . 'woocommerce/'` 
   when locating WooCommerce REST helper files; the plugin now relies on WooCommerce’s
   own getters and `WC_ABSPATH` constant.
 * Renamed the main plugin file to match the plugin slug (`orderkrab-for-woocommerce.
   php`).
 * Excluded the development-only `wp-stubs.php` shim from the published build.

#### 1.2.0

 * Activated the batch order sync (hourly reconciliation of pending/on-hold/processing
   orders).
 * Refactored admin assets to use `wp_enqueue_style` / `wp_enqueue_script` / `wp_add_inline_style`/`
   wp_localize_script` instead of inline `<style>` and `<script>` blocks.
 * Fixed: API access tokens are now preserved verbatim instead of being passed through`
   sanitize_text_field()`, which could silently corrupt valid tokens.
 * Modernized `register_setting()` registration with explicit `type` and `sanitize_callback`
   keys.
 * Removed the call to `load_plugin_textdomain()`. WordPress automatically loads
   translations for plugins hosted in the directory since WordPress 4.6.
 * Added `defined( 'ABSPATH' )` guard to template files that execute code on inclusion.
 * Removed the self-hosted plugin updater. Updates are now delivered through the
   WordPress.org plugin directory.
 * Removed the `test-weight-logic.php` development test harness from the published
   plugin.

#### 1.1.5

 * Previous internally distributed release.

## Meta

 *  Version **1.9.0**
 *  Last updated **6 days ago**
 *  Active installations **10+**
 *  WordPress Version ** 6.0 or higher **
 *  Tested up to **7.1.4**
 *  PHP Version ** 8.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/orderkrab-for-woocommerce/)
 * Tags
 * [fulfillment](https://en-au.wordpress.org/plugins/tags/fulfillment/)[order sync](https://en-au.wordpress.org/plugins/tags/order-sync/)
   [parcel-locker](https://en-au.wordpress.org/plugins/tags/parcel-locker/)[shipping](https://en-au.wordpress.org/plugins/tags/shipping/)
   [woocommerce](https://en-au.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://en-au.wordpress.org/plugins/orderkrab-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/orderkrab-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/orderkrab-for-woocommerce/reviews/)

## Contributors

 *   [ orderkrab ](https://profiles.wordpress.org/orderkrab/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/orderkrab-for-woocommerce/)