From fc1b14a33ce265c6e3c9d2f06bb8523a52053338 Mon Sep 17 00:00:00 2001 From: gdlcf88 Date: Sat, 9 Sep 2023 19:35:17 +0800 Subject: [PATCH 1/2] Fix wrong `PaymentAmount` values --- .../EasyAbp/EShop/Orders/Orders/PaymentCreatedEventHandler.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/EasyAbp.EShop.Orders/src/EasyAbp.EShop.Orders.Domain/EasyAbp/EShop/Orders/Orders/PaymentCreatedEventHandler.cs b/modules/EasyAbp.EShop.Orders/src/EasyAbp.EShop.Orders.Domain/EasyAbp/EShop/Orders/Orders/PaymentCreatedEventHandler.cs index 8c18efaf..c7cc8dea 100644 --- a/modules/EasyAbp.EShop.Orders/src/EasyAbp.EShop.Orders.Domain/EasyAbp/EShop/Orders/Orders/PaymentCreatedEventHandler.cs +++ b/modules/EasyAbp.EShop.Orders/src/EasyAbp.EShop.Orders.Domain/EasyAbp/EShop/Orders/Orders/PaymentCreatedEventHandler.cs @@ -53,8 +53,7 @@ namespace EasyAbp.EShop.Orders.Orders throw new InvalidPaymentException(eventData.Entity.Id, orderId); } - await order.StartPaymentAsync( - eventData.Entity.Id, eventData.Entity.ActualPaymentAmount, _moneyDistributor); + await order.StartPaymentAsync(eventData.Entity.Id, item.ActualPaymentAmount, _moneyDistributor); await _orderRepository.UpdateAsync(order, true); } From bb56a1531cc3340d1b91a85201386c571b4e3b71 Mon Sep 17 00:00:00 2001 From: gdlcf88 Date: Sat, 9 Sep 2023 19:36:43 +0800 Subject: [PATCH 2/2] Change version to 5.0.0-preview.4 --- common.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.props b/common.props index 7a91ff68..71f4b8fb 100644 --- a/common.props +++ b/common.props @@ -1,7 +1,7 @@ latest - 5.0.0-preview.3 + 5.0.0-preview.4 $(NoWarn);CS1591 true EasyAbp Team