Feature #11561
openFeature #11355: Cancellation process for online orders
Implement the complete order cancellation and refund workflow, including customer notifications, warehouse operations, admin updates, and storefront changes.
100%
Description
Cancellation Workflow: Implement automatic cancellation, staff approval/rejection, cancellation reasons, and cancellation-stage tracking.
Customer Emails: Implement six email notifications for item cancellation, request received, request declined, refund started, refund sent, and refund failed.
Stripe Refunds: Integrate refund processing and webhook handling with duplicate-event prevention.
Warehouse Alerts: Implement Order_Line_Cancelled alerts for warehouse staff at request, cancellation, and rejection.
Warehouse Operations: Handle held items, packing restrictions, task updates, shipping-label voiding, and return-to-shelf workflows.
Admin Updates: Add the Cancellations & Refunds tab, cancellation/refund details, order badges, and cancellation-stage history.
Storefront Updates: Add cancellation-policy help text and consistent cancellation/refund wording.
Bug Fix: Fix the variable declaration issue in warehousePackNotify.service.js.
Testing: Add unit tests and verify cancellation, refunds, notifications, and warehouse workflows.
Subtasks
Related issues