“Hayya ‘ala al-salah” invites the hearer toward prayer. “Hayya ‘ala al-falah” invites toward success, salvation, and the good attained through worship.
The prescribed face-turning is associated with these invitations, not the testimonies or final declaration of divine oneness.