Fixed issue where amount paid was not being correctly inserted into the ordertable