Gupta-Bleuler condition is $$\partial^\mu A_\mu^+ | \phi \rangle=0\tag{6.54}$$ where $$A_\mu^+= \int\frac{d^3\mathbf p}{(2\pi)^3 \sqrt{2|\mathbf p|}} \sum_{\lambda=0}^3 \epsilon^\lambda_\mu a_p^\lambda e^{-ip\cdot x}.$$
David Tong's QFT lecture note claims that this implies $$(a_p^3-a_p^0)| \phi \rangle=0.\tag{6.56}$$ I can't see how to obtain that. When I apply the Gupta-Bleuler condition and substitute the above equation, I obtain $$\int\frac{d^3\mathbf p}{(2\pi)^3 \sqrt{2|\mathbf p|}} \sum_{\lambda=0}^3 (-ip^\mu)\epsilon^\lambda_\mu a_p^\lambda e^{-ip\cdot x}| \phi \rangle=0$$ Since $\epsilon^1, \epsilon^2$ are transverse photon and they are orthogonal to $p$, only $\lambda=0$ and $\lambda=3$ term contributes. Then a sufficient condition for Gupta-Bleuler condition is that $$\{(p\cdot \epsilon^0)a_p^0-(p\cdot\epsilon^3)a_p^3\}|\phi\rangle=0$$ but this is different from the lecture note!