Yeah, the problem is his use of the old order status system. A simple fix would be to change this:
<?php
if ($status == uc_get_order_status_id('post_payment'))
{
?>To this:
<?php
if (uc_order_status_data($status, 'state') == 'completed') {
?>That should handle completed orders the same.



Joined: 08/07/2007