Hi,
I'm currently implimenting this feature as well, however I've noticed that when the $status value is posted back that it is a number.
If possible can you post the status codes so I can also add a script that will convert the number into a text value (4=Delivered etc)