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 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 @@ public virtual async Task HandleEventAsync(EntityCreatedEto eve 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); }