ADDITIONAL FACTOR. “Notice that this equation gives us only the magnitude of the photon’s momentum and contains no information about the direction in which the photon is moving. To include the direction, it is customary to write the photon’s momentum as a vector.”
https://opentextbc.ca/universityphysicsv3openstax/chapter/the-compton-effect/#:~:text=The%20Compton%20effect%20is%20the,wavelength%20of%20the%20incident%20radiation