We have a new shop system where you can access your users area and see your purchase details. If you purchased via the new store you just need to login and access your users area.
If you purchased before the new store system, then go to the store page, click "Forgot password" and enter your email address at time of purchase. You will receive an email with a new password. Then login and access your user area where you will find a list of purchases and code(s).
Should this not work the please open a support ticket here.