There should be an option in the settings to stop the creation of a transaction, either a charge or a payment, unless the Transaction Code field has been filled.