1. If App Store is running, quit the app.
2. Open the Terminal
3. Copy and paste this command(without " " ) : "defaults delete com.apple.appstore.commerce" and press enter.
4. Open App Store, sign in, and hit retry a few times. (Usually works on first try)