Ability to see if an order is refunded #3196
Unanswered
lukeholder
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After making a refund, the order can appear as if it has an outstanding balance since the amount paid on the order is less than the total payable.
One solution is to change the order status to a custom "refunded" or "returned" status after refunding the transaction. This does introduce an extra step for the store administrator.
Alternatively, a developer might want to make it easier by just showing the order as refunded ( not show an outstanding balance ) by calling a method on the order to find out the total amount refunded, and if equal to the amount payable, show the order as refunded on the front-end.
idea maybe to add a
getTotalRefundedAmount()
method to the order:The method would be a shortcut for
Beta Was this translation helpful? Give feedback.
All reactions