Bug-fix: Order status is now updating as intended when order is placed. Misspelt constant in IF statement on line 26 was to blame.

More...