If I remember correctly they didn’t offer the discount to everyone who prayed. They offered it randomly to some people who prayed.
Yeah, that’s even worse, from a legal standpoint, as they could be accused of running an illegal lottery as well.