After factory reset on galaxy grand prime google play store unfortunately stops working
Go to Settings > Application Manager > All > Google Play store > Uninstall updates. Restart your phone and wait for Google Play store update to the latest version. Let us know if after that, the problem still shows up.