Refund makes an order go back into processing? #1863
Replies: 2 comments
-
That would seem to not be the right behavior. I asked one of my store owners and she said she's never seen that happen though. She always checked to make sure it says closed. But she will keep an eye out to make sure the order wouldn't get shipped again. Edit: git blame says that's from version 1.4.0. Maybe there is something else that sets it to complete, like a sales_order_payment_refund observer? |
Beta Was this translation helpful? Give feedback.
-
Yes it does go into magento-lts/app/code/core/Mage/Sales/Model/Order.php Lines 2359 to 2392 in 8b9bfae Here is a test I did in a clean installation: Let me know if it helps. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody,
I've been reported something weird happening on a customer's project, when refunding the order goes back to processing state. I've been checking the thing and I've found that https://github.com/OpenMage/magento-lts/blob/Flyingmana-patch-1/app/code/core/Mage/Sales/Model/Order/Payment.php (line 725) is actally doing exactly that, during the refund method it resets the order state to processing.
Does it make sense to you? Am I missing something? Cause to me that's not the right behaviour.
Thanks everybody!
Beta Was this translation helpful? Give feedback.
All reactions