Not illegal.
The gas station is a place where drivers refuel. It is a public place. It is not illegal for you to promote this. If there is a discount for refueling when applying for a credit card, the driver should consider it and try to shorten the time to apply for the card. Drivers don’t want to stay at the gas station for too long.