diff --git a/internal/handlers/http/customerorder/order.go b/internal/handlers/http/customerorder/order.go index 05d7e98..5df3231 100644 --- a/internal/handlers/http/customerorder/order.go +++ b/internal/handlers/http/customerorder/order.go @@ -249,7 +249,7 @@ func (h *Handler) toOrderDetail(order *entity.Order) *response.OrderDetail { FullName: order.User.Name, Email: order.User.Email, PhoneNumber: order.User.PhoneNumber, - TotalAmount: order.Amount, + TotalAmount: order.Total, CreatedAt: order.CreatedAt, Status: order.Status, PaymentLink: paymentLink,