Translation
Then, having heard, they were baptized into the name of the LORD JESUS.
Paraphrase
After they heard this they underwent the accepted ritual of transfer a second time resulting in them being moved into a new spiritual position; they were now under the authority and within the will of THE SUPREME RULER who is THE ETERNAL AND PRESONAL GOD WHO SAVES.