A small bit of code is missing from my website store. When a user buys my software they are able to purchase it but the code that adds the download link, a registration code is not being added to the database. I need someone to fix this. I have the code from a previous website design that you can use to quickly find the issue. This is probably a very small error in the code and I don't have time to figure it out.