updated complete_xaction method in order.rb