a few modifications on handling the external transaction id / status
code