I found an incompatibility with Ty Package Tracker. If you use it to update the status of the order when you send a customer a tracking number, the reward Points are never updated since the check for a status change is done in orders.php and that is bypassed by the Ty Package Tracker.
To make it compatible, open admin/tracker.php and find (about line 160 for me)
and place this directly above it:Code:$messageStack->add_session(SUCCESS_ORDER_UPDATED, 'success'); } else { $messageStack->add_session(WARNING_ORDER_NOT_UPDATED, 'warning'); }
A few lines down the file (around line 177 for me) find:Code:UpdateOrderRewardPointsStatus($oID,$status,$check_status->fields['orders_status']); // !!! AGM
Place this directly below:Code:zen_remove_order($oID, $_POST['restock']);
I made those changes and it works for me now.Code:DeleteOrderRewardPoints($oID);
I would imagine that any mod that bypasses the order.php will need to have those two lines added to it before Reward Points mod will work.


Reply With Quote
