Patch moves uc_order_module_invoke() before the query.

CommentFileSizeAuthor
order-hook-alter-1.patch2.16 KBamitaibu

Comments

longwave’s picture

Status: Needs review » Closed (won't fix)

There is a 'presave' op now, but we can't just move the 'new' op as existing implementations may expect $order->order_id to already be set.