Skip to content

Commit

Permalink
VCST-1343: Null Payment Status
Browse files Browse the repository at this point in the history
fix: The resolve fix that CreateOrderFromCart mutation returns null Payment Status.
  • Loading branch information
OlegoO committed Jun 3, 2024
1 parent 5cb5cc4 commit b4ad456
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ protected virtual PaymentIn ToOrderModel(Payment payment)

retVal.GatewayCode = payment.PaymentGatewayCode;
retVal.Sum = payment.Amount;
retVal.Status = PaymentStatus.New.ToString();
retVal.PaymentStatus = PaymentStatus.New;
retVal.VendorId = payment.VendorId;
retVal.Comment = payment.Comment;
Expand Down

0 comments on commit b4ad456

Please sign in to comment.