At the moment, transaction refunds in Dashboard don't allow to attach information about specific checkout lines, so payment and taxes apps don't have enough information. For example, returning "20 USD" for taxes app is not enough, because we don't know what was tax rate of the product.
The API is already available, so only frontend must be adjusted.
Previous discussion also covers a refactor to remove legacy forms + context and apply react-hook-form to simplify this view
At the moment, transaction refunds in Dashboard don't allow to attach information about specific checkout lines, so payment and taxes apps don't have enough information. For example, returning "20 USD" for taxes app is not enough, because we don't know what was tax rate of the product.
The API is already available, so only frontend must be adjusted.
Previous discussion also covers a refactor to remove legacy forms + context and apply react-hook-form to simplify this view
Also there is a draft PR that I couldn't finished in time. It can be closed or continued https://github.com/saleor/saleor-dashboard/pull/4299
Consider https://github.com/saleor/saleor-dashboard/issues/3226 implemented in the future