Skip to content

EU Withdrawal Button & Returns Portal changelog

All notable changes to EU Withdrawal Button & Returns Portal (kv_returns_portal) are documented here. The format follows Keep a Changelog and the project uses Semantic Versioning.

  • Compatibility: CS-Cart and Multi-Vendor 4.22.x
  • Rate limits can no longer be bypassed with a forged X-Forwarded-For header; new “Trusted proxies” setting (Settings > Client IP). Before, the lookup and statement limits used the visitor address from CS-Cart’s fn_get_ip(), which believes X-Forwarded-For and other headers any visitor can send, so sending a new fake address with every request reset the limit. The add-on now uses the connection address (IPv6 visitors are counted per /64 network) and reads a forwarded header only from a proxy: it works out of the box behind Cloudflare (the official ranges are built in) and behind private reverse proxies such as nginx, Varnish (the 4.21 full page cache) or a load balancer on a loopback or private address, where X-Forwarded-For is read from the right and the first non-proxy address is the visitor. A proxy with a public address goes into the new “Trusted proxies” list; $config['kv_client_ip_mode'] / $config['kv_client_ip_trusted_proxies'] in config.local.php set it for every Kavio Labs add-on. Settings and data are kept on upgrade.
  • The “Withdraw from contract here” footer strip has a template hook (kv_returns_portal:footer_links) for further legal links. GPSR Product Safety & EU Guarantee Labels uses it to add its “Legal guarantee” link to the same strip, so the storefront shows one strip instead of two (EU Consumer Law Kit).
  • Secondary link style in the strip; the withdrawal button keeps its prominent style.
  • The withdrawal function was re-checked against Article 11a of the Consumer Rights Directive (Directive (EU) 2023/2673): label, continuous availability, statement fields, the single “Confirm withdrawal” button and the acknowledgement on a durable medium with its content and the date and time of submission. No change was needed.
  • Online withdrawal function: “Withdraw from contract here” strip on every storefront page, account menu link, order page button, order list column, box in customer order e-mails and a “Withdrawal button” layout block.
  • Two-step withdrawal statement for guests (order number + order e-mail, image verification, rate limit) and signed-in customers: name, e-mail for the confirmation, whole order or selected items, optional reason and comment, then a single “Confirm withdrawal” button.
  • Acknowledgement e-mail with the statement, the reference and the submission date and time (store time and UTC), with the confirmation attached (HTML, or PDF through the core PDF documents add-on); downloadable confirmation page.
  • Withdrawal period (14 days by default) from delivery, shipment or the order date; excluded categories, products and downloadable products; late statements accepted and flagged (optional).
  • Follow-up actions: cancellation of whole orders that have not shipped, RMA return requests when the core RMA add-on is active.
  • Withdrawal register in the admin panel: statuses, notes, refund countdown, filters, bulk status, CSV export, resend acknowledgement, notice on the order page; store and vendor notices.
  • Multi-Vendor: one record per vendor sub-order, vendor panel access to own withdrawals.
  • Model withdrawal form page with the store’s details.
  • Domain-bound license check (the basic withdrawal function keeps working without a license) and self-healing upgrades.