After purchasing, I immediately entered the code on my PS4 and it didn't work. I tried it a few more times and still no luck. After troubleshooting for maybe 15 minutes, I tried it again and it worked. I believe it takes 10-20 minutes for Sony to register the newly generated code after purchasing it from Amazon. If the code doesn't immediately work for you, wait 20 minutes and try again.