I've not had an anti Pope so this is an observation of game mechanics and Bishops.
A Bishop will pay the Pope taxes when they like the Pope more than their liege. So the Pope that receives the taxes must be in the same way. So how that works is usually based on the standard reasons to like or dislike a ruler. Whichever Pope is preferred gets the taxes if they are more popular than the direct liege lord.