It doesn't make sense to validate `transactionReference` here since you just checked whether it exists. Probably just remove it?