I think this line might be problematic. For example, to check if a hold has been captured, we check for the existence of a debit field. This wouldn't even be set.