You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In the settlePayment method in OrderService,
the check : orderTotalSettled = payment.amount === payment.order.totalWithTax;
does not work in the case there is several payments.
To Reproduce
settle a payment after doing other payments
Expected behavior
the check should compare the amount of all the already settled payment not only the payment amount
The text was updated successfully, but these errors were encountered:
Describe the bug
In the settlePayment method in OrderService,
the check :
orderTotalSettled = payment.amount === payment.order.totalWithTax;
does not work in the case there is several payments.
To Reproduce
settle a payment after doing other payments
Expected behavior
the check should compare the amount of all the already settled payment not only the payment amount
The text was updated successfully, but these errors were encountered: