You will at first receive an email confirming the purchase and then shortly thereafter, roughly 20-30 minutes, you will receive an email containing the digital code which you can then input into your PSN Store. There will be instructions to assist with what steps you'll take to do all of this in the email from Best Buy as well.