Describe the bug
When you cancel and Settle Payment amount of payment is not updating and you can enter not the real price for the Refundable amount.
To Reproduce
Steps to reproduce the behavior:
Create an order and add a product that costs 100$ 2 times so the total cost will be 200$
Pay for the order
Go to the order page in the admin
Click Cancel order or items
Select Cancel specified items and select that you are canceling only 1 item
Click the Settle Payment button, it should be correctly handled by the payment provider
In payments you see Payment 200$ and Settled but in reality, it's only 100$ settled
Click Refund & cancel order and you will see Refundable amount: 200$ but you settled only 100$
Expected behavior
I expect then that when you cancel order items before Settle the Settle Payment price should be updated to the price that was Settled in real.
Environment (please complete the following information):
Describe the bug When you cancel and Settle Payment amount of payment is not updating and you can enter not the real price for the
Refundable amount
.To Reproduce Steps to reproduce the behavior:
Cancel order or items
Cancel specified items
and select that you are canceling only 1 itemSettle Payment
button, it should be correctly handled by the payment providerPayment 200$
andSettled
but in reality, it's only100$
settledRefund & cancel order
and you will seeRefundable amount: 200$
but you settled only100$
Expected behavior I expect then that when you cancel order items before
Settle
theSettle
Payment price should be updated to the price that wasSettled
in real.Environment (please complete the following information):