the error Unknown column 'WADAOrderID' in 'where clause' is because the recordset on the order details page is missing a parameter.
edit the recordset, in advanced view, create a new variable in the variables section:
Name: WADAOrderID
Type: Number
default Value: -1
Run Time Value: $_GET['OrderID']