Can you pay membership to the YMCA? Make purchases at the Salvation Army store?
According to the Mishnah on today’s daf (=page), if there is a park or bathhouse attached to the ground of avodah zarah, one is permitted to benefit from them she-lo be-tovah – if he does not have to pay for that benefit – be-tovah, however, that is, if he has to pay for it, then it would be forbidden. In the Gemara, Abayye explains that that be-tovah and she-lo be-tovah refer to tovat komarim – whether the money will go to pay the idolatrous priests. If the money simply will go to people who are worshippers, then it is of no concern to us.
Translating she-lo be-tovah as making use of it without payment follows Rashi‘s approach to the Mishnah. According to Rashi, the Mishnah is teaching that even though the payment that is being made will go to the priests and not to the actual avodah zarah, nevertheless it is forbidden to give money that will benefit the idolatrous priests.
Although this approach is found in the Talmud Yerushalmi, as well, nevertheless Tosafot offers an alternative approach to the Mishnah. According to Rabbenu Tam, the question is whether the person who benefits from use of the park or the bathhouse will owe a favor to the priests and to the avodah zarah. If he will not owe them anything like that, then we view it as taking advantage of something that is ownerless, and it is permitted. The Ra’avad adds that owing a favor to the priests may lead to some level of social intercourse that may offer an opportunity for the priests to influence the person religiously.
According to this approach, there would be no problem if payment is made, since we do not perceive him as benefitting from avodah zarah, since he has paid in full for the privileges that he is given.