ReclaimLog

Description

ReclaimLog lets authorized WooCommerce store staff record products that have physically arrived back. It works with existing WooCommerce order edit screens, including High-Performance Order Storage (HPOS), and provides a standalone WooCommerce > ReclaimLog page.

  • Record partial returns or multiple order items with controlled reason codes.
  • See ordered, already received and remaining quantities. Active received quantities cannot exceed ordered quantities.
  • Void incorrect records without deleting their history. Voided quantities no longer count as received.
  • Keep returns independent of refunds, payment changes and inventory changes.
  • Read minimal return evidence through the existing authenticated WooCommerce REST orders endpoint.

This plugin does not issue refunds, alter payments or change product stock. Refunds, order statuses and restocks are never inferred to be physical returns.

Requirements

WordPress 6.2 or newer, PHP 7.4 or newer, and WooCommerce 7.1 or newer are required. The plugin declares HPOS compatibility and uses WooCommerce CRUD for order and order-item access. Return recording uses database transactions and MySQL/MariaDB named locks; a database host that refuses named locks will prevent recording rather than bypass the quantity safeguard.

REST fields and privacy

The read-only returnivo_returns field contains record IDs, RECEIVED/VOIDED status, UTC creation timestamps, order-item IDs, quantities and reason codes. The read-only returnivo_restocked_items field contains only order-item IDs and positive cumulative quantities from WooCommerce’s _restock_refunded_items metadata. These fields use the existing WooCommerce orders permissions; no public endpoint or additional permission is added.

Restock evidence is inventory evidence only, not proof of physical receipt. It has no restock timestamp and never contributes to physical-return rates. Empty lists mean the plugin is installed with no records of that kind. Without the plugin the fields are absent. Consumers using _fields must explicitly include the desired field.

The plugin stores return/order-item IDs, status, controlled reasons, quantities and timestamps in two local tables. It does not copy customer names, email addresses, addresses, notes or photos into those tables or additional REST fields. Order-linked IDs can still be associated with existing store records and should be protected as store data.

The plugin makes no outbound requests, performs no tracking, and sends no credentials or data to Returnivo automatically. Authorized clients can read the fields through the store’s authenticated REST API. A store owner chooses whether to connect the separate Returnivo service with a read-only WooCommerce key. Local recording and history work without a Returnivo account. Returnivo analytics require that separate service and a subsequent sync; availability and plan terms are separate from this free plugin. Service availability, privacy and terms information is provided by the separate Returnivo service before any connection is made.

Saving or voiding a record, and WooCommerce’s existing refund-restock action, updates a private order marker so incremental consumers can detect changes. After activation, the plugin also touches the most recently modified order once for discovery. No sync or outbound request is triggered. Older orders are not guaranteed to be included until a consumer imports them again.

Support

Support will be available through this plugin’s WordPress.org support forum after the plugin is approved in the directory. Pre-approval support and contact details will be supplied during submission if they are needed. Do not send API keys, passwords or customer records.

Installation

  1. Install and activate WooCommerce 7.1 or newer.
  2. In WordPress, open Plugins > Add New > Upload Plugin, select the plugin ZIP, install it and activate it.
  3. Open a saved WooCommerce order and select Record physical return near the top of the edit screen. Staff need the manage_woocommerce capability.
  4. Enter only quantities physically received back, select a reason for each line and save. The standalone WooCommerce > ReclaimLog page is available as a fallback.
  5. Optionally connect an authorized read-only REST consumer. For Returnivo, use the separate app’s supported connection process and run its normal sync; the plugin itself does not initiate synchronization.

FAQ

Does a refund or restock automatically create a physical return?

No. Only staff recording actual physical receipt creates a RECEIVED record. Restock metadata remains separate inventory evidence.

Can I correct a return?

Void the incorrect record from the order’s return history. It remains in audit history and its quantities can be recorded again. An external analytics consumer excludes it after importing the updated VOIDED status and refreshing its results.

Does this work with HPOS and without JavaScript?

The plugin uses WooCommerce order CRUD and declares HPOS compatibility. A standalone admin page provides the recording/history fallback when JavaScript or native dialog support is unavailable.

Does this send data to an external service?

No outbound calls or tracking are implemented. Authenticated REST consumers may read the two documented fields when the store owner grants access. The separate Returnivo service is optional.

What happens on deactivation or deletion?

Return records are retained as audit history. Deletion removes the discovery option but keeps both return tables, the schema-version option and private order markers. Back up the store before any deliberate manual cleanup; the plugin has no automatic record-erasure tool.

Are the order quantities and return rates unit-based?

The plugin records received units. Returnivo’s order-based return rate counts a qualifying order once even if it has multiple received records or items. Only RECEIVED records count; VOIDED records and restock evidence do not.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“ReclaimLog” is open source software. The following people have contributed to this plugin.

Contributors

Translate “ReclaimLog” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2.3

  • Renamed the plugin to ReclaimLog and aligned its directory slug and translation text domain. Existing records, REST fields and storage remain unchanged.

1.2.2

  • Replaced generated history-query placeholders with a prepared order-scoped table join. History ordering, output and all write safeguards remain unchanged.

1.2.1

  • Aligned the initial directory slug and translation text domain.
  • Prepared audit-table identifiers safely and hardened admin input validation. No schema, inventory or REST behavior changes.

1.2.0

  • Added minimal read-only restock-after-refund evidence and an order-marker touch hook. No inventory changes.
  • Added WordPress.org-format documentation, GPL license text, dependency metadata and directory-aligned translation naming for initial submission preparation.

1.1.1

  • Moved the physical-return action to the top of saved order edit screens.
  • Disabled recording when all quantities are received while retaining history and void controls.

1.1.0

  • Added the legacy/HPOS order-edit dialog and shared protected save/void handlers.

1.0.0

  • Initial physical-receipt records, quantity limits, reason codes, void history and read-only returns field.