reverbdotcom / reverb-magento

Magento 1.x plugin for syncing with Reverb
Other
7 stars 10 forks source link

Order cancellation #141

Closed dunagan5887 closed 8 years ago

dunagan5887 commented 8 years ago

Fix #130

Code to implement cancelling orders via the Reverb Order Update retrieval process

dunagan5887 commented 8 years ago

What's the status on this?

skwp commented 8 years ago

sorry I haven't had a chance to look at it today, it's been very busy. going to look now thanks for the reminder

skwp commented 8 years ago

Got this message while testing on my instance

Exception occurred while executing the status update for order with magento entity id 2 to status cancelled: The Magento system has determined that the Magento order with increment id 000000002 can not be cancelled

Not sure what's up with the increment id, the order is is actually 235

skwp commented 8 years ago

Nothing more in the log except that one message

skwp commented 8 years ago

The order in question is in magento "processing" state. is that the problem? http://ec2-54-157-249-149.compute-1.amazonaws.com/index.php/admin/sales_order/view/order_id/2/key/692d8e6dde1e9adb6d2fdb688d9d612c/

dunagan5887 commented 8 years ago

https://github.com/reverbdotcom/reverb-magento/commit/5914b0e0d7da01c0de055d2ac68f37413c0f7c99

The above commit will give the reason that the order can not be cancelled in that event

skwp commented 8 years ago

excellent thank you