From 163a0a2f1a5da183e119334e3e34451bd8bcf3ad Mon Sep 17 00:00:00 2001 From: masoodafar-web Date: Mon, 16 Feb 2026 00:45:55 +0330 Subject: [PATCH] fix: discount store DeliveryStatus stays Pending after payment (matches regular store) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CompleteOrderPaymentCommandHandler: DeliveryStatus.InTransit → DeliveryStatus.Pending - PlaceOrderCommandHandler (full discount-balance path): same fix - Now both stores behave the same: admin must manually update delivery status - Consistent with regular store flow where order stays Pending after payment --- .../CompleteOrderPayment/CompleteOrderPaymentCommandHandler.cs | 2 +- .../Commands/PlaceOrder/PlaceOrderCommandHandler.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMSMicroservice.Application/DiscountShopCQ/Commands/CompleteOrderPayment/CompleteOrderPaymentCommandHandler.cs b/src/CMSMicroservice.Application/DiscountShopCQ/Commands/CompleteOrderPayment/CompleteOrderPaymentCommandHandler.cs index 24f706c..182112e 100644 --- a/src/CMSMicroservice.Application/DiscountShopCQ/Commands/CompleteOrderPayment/CompleteOrderPaymentCommandHandler.cs +++ b/src/CMSMicroservice.Application/DiscountShopCQ/Commands/CompleteOrderPayment/CompleteOrderPaymentCommandHandler.cs @@ -56,7 +56,7 @@ public class CompleteOrderPaymentCommandHandler : IRequestHandler w.UserId == request.UserId, cancellationToken);