After the people heard Paul say this, they were baptized in the name of the Lord Jesus.
Peter ordered them to be baptized in the name of Jesus Christ, and they asked him to stay on for a few days.
Peter said, “Turn back to God! Be baptized in the name of Jesus Christ, so that your sins will be forgiven. Then you will be given the Holy Spirit.
But when they believed what Philip was saying about God's kingdom and about the name of Jesus Christ, they were all baptized.
Before this, the Holy Spirit had not been given to anyone in Samaria, though some of them had been baptized in the name of the Lord Jesus.
This was like being baptized and becoming followers of Moses.