It is a mismatch in the number of fields on line 524 of confirm.php and 525. You have 17 columns listed and only values for 16 columns.
You don't have a value for OrderUserID, but it is listed in the fields to be inserted.
I've gone ahead and removed the column from the field list on line 524 and that should fix the problem.