Returnline documentation1.x
Getting started

Requirements and compatibility

The WordPress, WooCommerce and PHP versions Returnline needs, and how it works with themes, order storage and other plugins.

Versions

Minimum
WordPress 6.5
WooCommerce 8.2 (tested up to 11.1)
PHP 7.4

Order storage

Returnline works with both of WooCommerce's order storage options: High-Performance Order Storage (HPOS) and the older posts storage. The Returns box shows on the order screen either way, and switching storage later doesn't affect your returns, which are kept in Returnline's own tables.

Themes

The customer's pages (the request form and each return's page) are built from WooCommerce's own My Account markup: the orders table, the order details table, form rows and notices. Your theme styles them like the rest of the account area, in classic and block themes. Returnline adds only a small stylesheet for the parts WooCommerce has no equivalent for, such as the progress tracker.

To change the markup, copy a template into your theme; see Templates.

Payment gateways

Refunds go through WooCommerce's own refunds. When the order's payment method can refund automatically (most card gateways can), you can send the money back with one click. With methods that can't (cash on delivery, bank transfer), Returnline records the refund on the order and you pay the customer back yourself.

Stock and other plugins

Restocking also goes through WooCommerce's refunds (its Restock refunded items behaviour), so stock plugins that follow WooCommerce's stock changes stay in step, including Extendiment's Stockpool. Fulfilment plugins see nothing unusual: a refund is a normal WooCommerce refund.

WooCommerce's withdrawal form

WooCommerce has an optional Order withdrawal feature, for the EU right of withdrawal. When a customer uses its form, Returnline flags the order in its Returns box so you can start a return for it. See Orders and returns by phone.