If you view source of the confirm page in the browser, what is the value of the commission form element?
I would suspect that the calculation you have for the commission element is not returning the proper value.
For the ComPaid_ord column, you have hard coded the value to be 0 in the store order summary behavior.