Fixed wrong transaction code being used

Paygate required to authtx tid to be used as the tid for refunds for the
transaction and the capture request overwritten this value.  Test will
now pass fully