Why there is no validation on refund amount while returning an item? When we try to return an item it asks to choose a payment to process refund against but it has no validation on the amount to refund and amount paid through selected payment. Below is the example :
- Order value 100$ (LineItem 1 - 75$ and LineItem 2 - 15$)
- Paid in two payments as 50$ and 50$ using split payment option
- Now return LineItem 1 i.e one with 75$ against Payment 1 i.e. of 50$.
- It allows you to perform such operations without any warnings, error and validations.
Is there any specific reason why this feature is implemented in such way?
In our case we have a custom tender app and I would like to know how to deal with this scenario. Is there any special expectation from custom tender app?