Pacemakers can in theory be influenced (e.g. reprogrammed) by electrical currents passing through the skin, most typically the electrosurgery used to stop bleeding during surgery. Lasers for hair removal deliver light to the skin that generates heat to get its effect but there is no transmission of electrical current, so they are safe with a pacemaker.
There is no transmission of electricity or electrical current during the delivery of laser energy to the target site in the process of laser hair reduction. Electrical activity is what may disrupt pacemaker activity. You can safely have laser hair removal treatments with a pacemaker.