check for cardReference as well as transactionReference