Aftero – Post-purchase portal for WooCommerce

Description

After-sales without the e-mail ping-pong. 📦✨

“How do I cancel?”, “Where do I send this back?”, “Did you get my withdrawal?” Every one of these e-mails costs you time. Aftero gives your customers a single “Manage my order” page where they do it themselves, and gives your team one queue where every request lands, already sorted.

Customers open the portal from their order e-mails, the thank-you page or My Account, and only see what their order allows right now: cancel before you ship, return an item, or withdraw from the contract. Every action updates the WooCommerce order, adds an order note and is recorded step by step.

👉 The EU withdrawal button is included, for free. Since 19 June 2026, shops that sell online to consumers in the EU must offer an easy “withdraw from the contract” function with a confirmation step and an immediate acknowledgement. Aftero provides the button, the two-step form, the acknowledgement e-mail with a PDF receipt and a tamper-evident proof log.

✨ Free features

Everything below is free, with no order limit and nothing locked:

  • 🧭 Customer portal: “Manage my order” page (block aftero/portal or shortcode [aftero_portal]), My Account tab, a button on the thank-you page and live tracking of every request.
  • 🔑 Guest access: a signed magic link in the WooCommerce e-mails, or the order number plus the billing e-mail (rate-limited). No account needed.
  • 🛑 Cancellation: self-service cancellation during a window you set, with a mandatory reason, automatic refund through the payment gateway when it supports it (otherwise a manual refund task for the shop) and automatic restocking.
  • 🔁 Returns: per-item requests with a reason, a comment and up to three photos; eligibility rules (delay, excluded products and categories, order status); a return label PDF or shipping instructions; one e-mail at each step (requested, accepted, received, refunded); refund once the parcel is received, minus an optional return fee.
  • 🇪🇺 EU withdrawal button (Directive (EU) 2023/2673): a “Withdraw from contract” link visible for the whole legal period (order e-mails, footer, block aftero/withdrawal-link, shortcode [aftero_withdrawal_link]), a two-step confirmation, an immediate timestamped acknowledgement e-mail with a PDF receipt, and a tamper-evident proof log exportable as CSV. No return fee is ever applied to a withdrawal.
  • 🗂️ Back office: WooCommerce › Aftero with a single request queue, filters and bulk actions, a compliance checklist, a meta box on the order screen (HPOS and legacy) and a five-step setup wizard.
  • ✉️ E-mails: every Aftero e-mail is listed in WooCommerce › Settings › Emails, uses the WooCommerce e-mail template and can be edited or overridden from your theme.

🛑 Cancellations before you ship

Set a window (60 minutes by default, it also closes as soon as you move the order to “Picking”). Inside it, the customer picks a reason and confirms: the order is cancelled, restocked, and refunded through the payment gateway when it supports refunds. When the gateway cannot refund (bank transfer, cheque, a gateway without refund support), the cancellation goes to your queue as “Manual refund” and you mark it as refunded once you have paid the customer back. No stock to fix.

🔁 Returns that sort themselves

Customers choose the items, the quantity and the reason, add a comment and photos, and see your return address, instructions or label straight away. You accept, reject or mark the parcel as received from one screen; Aftero refunds the returned items (minus the return fee you set) and restocks them if you want. The customer gets an e-mail at each step and can follow the request in the portal.

🇪🇺 The withdrawal button, done carefully

  • Visible for the whole legal period, including before delivery, from the order e-mails, the site footer and the portal.
  • Two steps, as the directive requires: the customer states the withdrawal, then confirms it.
  • An acknowledgement on a durable medium, sent immediately: an e-mail with the date and time, the order, the items and a PDF receipt.
  • A proof log where each entry is chained to the previous one by a hash, so that a later change can be detected. Export it as CSV from WooCommerce › Aftero › Compliance.
  • Built-in wording in English, French, German, Spanish and Italian, editable on the Compliance tab.

💛 Free means free

  • No limit on orders or requests, ever.
  • Nothing locked: every feature listed above works in full.
  • No account to create and no key to enter.
  • No data sent anywhere: Aftero makes no request to external services and has no tracking.

🚀 Need more? Aftero Pro

Aftero Pro is an optional add-on for shops that want to keep the sale instead of refunding it:

  • ✏️ Order editing by the customer before you ship: shipping address (with shipping recalculated), size or colour, quantities and removed lines with a partial refund, added products paid through the WooCommerce “Pay for order” page.
  • 🔄 Exchanges first on returns: another size or colour at the same price, with the replacement reserved straight away.
  • 🎟️ Store credit as a single-use coupon, with an optional bonus (for example +10 %).
  • 🛟 Alternatives before cancelling: a change of order or store credit offered before the cancellation is confirmed.
  • 💬 Messages on each request: ask the customer a question or answer theirs on the request itself; customers read and reply from their order page, with photos and PDFs, unread badges and saved replies.
  • 🛒 Product suggestions while the order can still be changed.
  • 📊 After-sales dashboard: tickets avoided, revenue kept, exchange rate and top return reasons.
  • 🤖 Handle requests from an AI assistant (MCP).

Aftero Pro is sold per site: Pro Solo (1 site), Pro Business (5 sites) and Pro Agence (25 sites). Every plan has every Pro feature and never limits your orders.

Aftero stays complete without it. Without Pro, Aftero mentions it only inside its own screens and to users who can install plugins: an “Aftero Pro” link on the Plugins screen, the “✦ Aftero Pro” and “Dashboard ✦ Pro” tabs, a few “✦ Pro” previews (settings, setup wizard, request screen, Aftero box of the order screen) that open a short description with a screenshot (never locked or fake controls), and an occasional tip you can dismiss. “Aftero Pro previews” in WooCommerce › Aftero › Settings › Advanced turns them all off, for example on a client site. Customers never see them.

🧑‍💻 Made for developers too

  • Every action and filter, the public functions, the portal JavaScript API and the CSS class names are documented in docs/hooks.md, included in the plugin folder.
  • REST API aftero/v1 for the portal, HPOS and Cart and Checkout blocks compatible, WooCommerce CRUD only.
  • Demo data for staging sites: wp aftero demo creates labelled orders and requests in every state, wp aftero demo --reset removes them (see the FAQ).
  • No build step: the PHP, JavaScript and CSS you download are the sources.

⚖️ Not legal advice

Aftero helps you meet the withdrawal button requirements, but it does not provide legal advice. Have your terms and conditions, your withdrawal information and the Aftero texts checked by a consumer law professional.

Privacy

Aftero stores, in its own database tables, the requests customers make (order, e-mail, chosen items, reasons, comments) and a proof log of each step. Return photos, return labels and withdrawal receipts are stored in a private uploads folder.

  • Aftero does not send any data to external services. Nothing is shared with the plugin authors. The only HTTP request it makes is the “Test the protection of private files” button of the Compliance tab, which fetches one temporary file from your own uploads URL to check that the private folder is protected.
  • The proof log records the full IP address of each step as evidence. Everywhere else (requests, withdrawal receipts) IP addresses are stored truncated.
  • Aftero registers a personal data exporter and eraser (Tools › Export / Erase Personal Data). Erasure anonymises closed requests and deletes their photos. The proof log and withdrawal receipts are kept as a legal obligation. Proof log entries are purged automatically after the retention period set in the settings (5 years by default).
  • Return photos are deleted automatically a set number of days after the request is closed (90 by default).
  • The portal sets one functional cookie, aftero_session, to keep a guest signed in to the portal for a short time.
  • Aftero suggests a paragraph for your privacy policy under Settings › Privacy.

Screenshots

Blocks

This plugin provides 2 blocks.

  • Order management portal
  • Withdrawal link

Installation

  1. Install and activate WooCommerce (9.0 or later).
  2. In Plugins › Add New, search for “Aftero”, install and activate it. Or upload the aftero folder to /wp-content/plugins/ and activate it.
  3. Follow the setup wizard. A “Manage my order” page holding the portal block is created for you.
  4. Open WooCommerce › Aftero › Compliance and work through the checklist (withdrawal period, terms page, acknowledgement texts).
  5. Exclude the “Manage my order” page from your page cache, like the cart and checkout pages. 🎉

FAQ

Is Aftero really free?

Yes. The portal, cancellations, returns with refunds, the EU withdrawal button, the proof log, the request queue and every e-mail are free, with no order limit and nothing locked. Aftero Pro is an optional add-on for extra features (see the description).

Is Pro limited by the number of orders?

No. Aftero Pro plans differ only by the number of sites they cover (Pro Solo 1, Pro Business 5, Pro Agence 25). Order volume never changes the plan and no feature is ever switched off.

Is Aftero legal advice?

No. Aftero gives you the tools (button, confirmation, acknowledgement, proof log) but it cannot check your terms, your withdrawal information or your exceptions. Ask a consumer law professional to review your setup before you rely on it.

What is the EU withdrawal button?

Directive (EU) 2023/2673 amends the Consumer Rights Directive. Since 19 June 2026, shops that sell online to consumers in the EU must offer an easy way to withdraw from a contract during the withdrawal period: a clearly labelled function, a confirmation step, and an acknowledgement of receipt on a durable medium sent without delay. Aftero provides the link, the two-step form, the immediate e-mail with a PDF receipt and a proof log of each withdrawal.

Which orders does the withdrawal button cover?

Every order that is not closed (cancelled, refunded or failed), for the withdrawal period you set (14 days at least) counted from delivery, and before delivery too. Delivery is the date the order was completed, or the date a shipment tracking plugin returns through the aftero_delivery_date filter. When you have not informed customers of their right of withdrawal, turn off “Information given”: the period is then extended by 12 months, as the law provides. The button concerns consumer sales at a distance: if you also sell to businesses, narrow it with the aftero_can_withdraw filter.

Does the withdrawal button replace my terms and conditions?

No. You still have to inform customers of their right of withdrawal, its conditions and its exceptions in your terms. Aftero adds the function the law requires; it does not write your terms.

Which items are exempt from the withdrawal button?

None by default. Products flagged “Personalised product” on their edit screen are exempt, as is downloadable digital content when the order records the customer’s waiver (order meta _aftero_digital_waiver). Use the aftero_withdrawal_item_excluded filter for other exemptions the law allows.

Can customers use the portal without an account?

Yes. The WooCommerce order e-mails carry a signed link that opens the portal for that order. From the footer link or the portal page, guests enter their order number and billing e-mail: Aftero then sends a link, valid for 30 minutes, to the billing address of the order. Knowing the number and the address is not enough to open an order, the link must be opened from that mailbox. Lookups are rate-limited. Logged-in customers see all their orders in My Account.

Does it work with HPOS and the block checkout?

Yes. Aftero declares compatibility with High-Performance Order Storage and the Cart and Checkout blocks, and only reads and writes orders through the WooCommerce CRUD.

Which payment gateways refund automatically?

Any gateway that supports WooCommerce refunds (for example WooPayments, Stripe or PayPal Payments). When a gateway cannot refund, the request moves to “Manual refund” in the queue and the shop marks it as refunded once done. Unpaid orders (bank transfer, cash on delivery) are simply cancelled.

Where are customer photos, return labels and withdrawal receipts stored?

In a private folder of the uploads directory (aftero-private), never in the media library, with random file names. Aftero denies direct access to that folder on Apache and IIS. Nginx ignores those protection files: add location ^~ /wp-content/uploads/aftero-private/ { deny all; } to your server block (adjust the path if your uploads folder is elsewhere). WooCommerce › Aftero › Compliance can test that the folder is protected. Staff download the files through a signed admin link; customers download their return label from the portal through an authenticated REST route.

Do I need to exclude the portal page from my page cache?

Yes, like the cart and checkout pages. When a customer opens a link from an e-mail (an order e-mail, or the access link sent after a guest lookup), Aftero swaps it for a short-lived session cookie (aftero_session, HttpOnly, limited to the portal page) and redirects to the same page without the token, so the token never reaches analytics tags or logs. Pages with that session send no-cache headers and define DONOTCACHEPAGE.

My site is behind Cloudflare or a reverse proxy

Aftero rate-limits guest order lookups per visitor network (IPv4 address or IPv6 /64) and per order number, and sends at most three access links per order and hour. Behind a proxy every visitor shares the proxy address: return the real visitor IP with the aftero_client_ip filter, reading only a header your proxy sets. The Aftero screens show a warning when a proxy is detected and the filter is missing.

I use a sequential order number plugin

Return the order ID for the number the customer typed with the aftero_order_id_from_number filter.

Is Aftero translated?

The withdrawal button label uses the wording of Directive (EU) 2023/2673 in French, German, Spanish and Italian, and the acknowledgement of receipt ships in English, French, German, Spanish and Italian (editable on the Compliance tab). Every other string is translatable: translations are managed on translate.wordpress.org, and languages/aftero.pot is included for your own.

Can templates be overridden?

Yes. Copy templates/emails/aftero-request.php and templates/emails/plain/aftero-request.php to your-theme/aftero/emails/ (and your-theme/aftero/emails/plain/). The portal itself is a JavaScript app: style it with CSS or extend it with its JavaScript API. Developers will find every action and filter in docs/hooks.md.

Does Aftero send data anywhere?

No. Aftero makes no request to external services and has no tracking. Its only HTTP request is the “Test the protection of private files” button of the Compliance tab: when you click it, Aftero fetches one temporary file from your own uploads URL to check that the private folder is protected (if your uploads are served from a CDN or an offload service, that request goes there). Links to Aftero Pro are plain links, followed only if you click them. See the Privacy section below for what Aftero stores on your site.

How can I try Aftero with sample data?

On a staging copy of your shop, run wp aftero demo (WP-CLI). It creates labelled demo customers (demo-…@example.com), hidden demo products, and orders and requests in every interesting state (cancellation window open, return accepted with a label, refund to do by hand, EU withdrawal…), through the real flows, without sending e-mails. The command prints the admin and customer links of each order. wp aftero demo --reset removes everything it created (a demo product someone outside the demo ordered is kept, with a warning; demo products cannot be bought by other customers); wp aftero demo --fresh --only=cancel-window rebuilds one scenario. Run wp aftero demo --reset before deleting Aftero: the command goes with the plugin, and the demo data is deleted on uninstall only when “Delete all data on uninstall” is on (with WooCommerce active). Proof-log entries written by the demo stay in the log (it cannot lose a row) and are marked “Demo”. Avoid running it on a live shop: other plugins (analytics, ERP, newsletters) would see the demo orders.

What happens to my data when I delete the plugin?

Scheduled tasks, temporary data and the capability are removed. Settings, requests, the proof log and the private files are kept, so a reinstall picks up where you left off and withdrawal records can still be produced. To delete them too, an administrator turns on “Delete all data on uninstall” (WooCommerce › Aftero › Settings › Advanced) before deleting the plugin; the Plugins screen shows a warning while it is on. With that setting, the demo data of wp aftero demo (demo customers, products, coupons and orders) is deleted as well, provided WooCommerce is active; otherwise run wp aftero demo --reset first.

What happens to orders changed with Aftero Pro if I remove it?

They stay normal WooCommerce orders and every request stays readable. Returns where the customer chose an exchange or store credit can be refunded instead (no return fee) or closed, and a modification still waiting for its payment can be closed: the order goes back to how it was.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Aftero – Post-purchase portal for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.2.4

  • Fix: the French, German, Spanish and Italian translations are now included in the plugin (0.2.3 shipped without them) and also load on WordPress 6.6 and 6.7.
  • Fix: the “No customer request for this order” line of the order screen box no longer uses WordPress’s generic description paragraph class, which other tools look for on that screen.
  • Readme: presentation video.

0.2.3

  • Security: the top-up notice of the order screen only reads the order that screen is editing, and only for users who can edit orders.

0.2.2

  • Security: finding an order with its number and billing e-mail no longer opens it. Aftero sends a link, valid for 30 minutes, to the billing address of the order (new e-mail “Aftero: order access link”); the answer is the same whether an order matched or not.
  • Security: submitted settings are sanitized as soon as they are read, and again after the aftero_settings_sanitize filter.
  • Change: links of plain-text e-mails are escaped with esc_url(); the portal and the ✦ Pro preview no longer print inline <style> or <script> tags.
  • Readme: the cancellation section now says when a refund is left to the shop.

0.2.1

  • Added: extension points for Aftero Pro’s AI assistants (proof-log channels, request details, query sorting and filters).
  • Added: sortable date and a Closed view in the requests list.
  • Fixed: confirming a manual refund on an order already partly refunded in WooCommerce now records and notes the amount WooCommerce actually recorded.

0.2.0

  • Change: order editing, exchanges, store credit, alternatives before cancelling and the dashboard moved to the separate Aftero Pro add-on. Existing requests, orders and settings are kept unchanged.
  • Change: returns offer a refund; returns created with another solution can be refunded instead (no return fee) or closed, and applied again once the add-on is back.
  • Change: on uninstall, settings, requests, the proof log and the private files are kept unless “Delete all data on uninstall” is turned on.
  • New: “Advanced” settings section: “Aftero Pro previews” (turns off the Aftero Pro previews of the Aftero screens) and “Delete all data on uninstall”.
  • New: demo data command (wp aftero demo).
  • New: hooks and a JavaScript API for add-ons, with extension points for the request screen, the requests list, private files, settings field types and portal deep links (see docs/hooks.md).
  • Tweak: orders still waiting for a top-up payment cannot be paid twice while the add-on that handles them is inactive.
  • Tweak: return photos and labels are stored through the WordPress upload handler, and the Compliance tab can test that the private files folder is not reachable from the web.
  • Tweak: only administrators can turn on “Delete all data on uninstall”.
  • Tweak: the customer portal now uses WooCommerce’s own markup (buttons, form fields, notices, order tables) and follows the theme’s colours and fonts; the accent colour is optional and empty by default. A site that had kept the old default purple now follows its theme.
  • Tweak: the admin screens follow the WordPress admin colour scheme.
  • Tweak: with Storefront, the footer withdrawal link sits inside the theme footer (reachable above the small-screen bar), and portal forms keep the theme’s field spacing and fieldset style.

0.1.0

  • First release: customer portal, guest access, cancellation, returns, EU withdrawal button with PDF acknowledgement and proof log, request queue, compliance checklist, setup wizard and e-mails.