Project

General

Profile

Edit Copy Actions

Feature #11548

open

Feature #11355: Cancellation process for online orders

Fix and Optimize Order Cancellation, Inventory Restocking, and Warehouse Fulfillment Flow

Added by Pavan Kumar Murala 7 days ago. Updated 7 days ago.

Status:
Resolved
Priority:
Normal
Start date:
10/15/2026
Due date:
10/15/2026 (7 days late)
% Done:

100%

Estimated time:
8:00 h
Spent time:

Description

Simplify cancellation approval into a single action to approve, cancel products, restore stock, and process refunds.

Display cancellation approval, stock, refund, and warehouse statuses in one place.

Fix warehouse picking and packing to include only active, non-cancelled products.

Exclude cancelled products from shipping labels, packages, warehouse notifications, and undelivered counts.

Hide fully cancelled orders from active warehouse packing.

Automatically restore cancelled product quantities to available stock.

Fix stock restoration for product variants, reserved inventory, and products with or without stock batches.

Prevent duplicate stock restoration using idempotency and stock journal validation.

Add retry and recovery handling for failed or incomplete stock restoration.

Ensure products already collected by the delivery partner are restocked only after return and inspection.

Fix normal card orders so stock is deducted after successful payment confirmation.

Ensure Stripe webhooks and the payment success page cannot deduct stock twice.

Handle stock deduction failures with safe retries and proper error logging.

Preserve existing Cash and Zelle stock deduction behavior.

Review and improve Stripe refund retry and reconciliation handling.

Review refund handling for Cash and Zelle orders.

Review pre-order and legacy-order cancellation and stock restoration issues.

Review customer cancellation notifications, request withdrawal, and partial-quantity cancellation support.

Fix order locks after interrupted cancellation execution and consolidate duplicate cancellation endpoints.

Add backend tests for cancellation requests, approvals, refunds, stock restoration, payment confirmation, retries, and failure scenarios.

Perform end-to-end testing of the complete cancellation, inventory, payment, and warehouse fulfillment flow.

Document all completed fixes, remaining issues, and pending improvements.


Add

Subtasks


Add

Related issues

Edit Copy Actions

Also available in: Atom PDF