Hello. Hope this has not been discussed before but here goes.
The idea is that when a user buys a product, I will add a link to his personal area to download the product (it has to be generated manually), by entering the link in the database associated to it's user id.
My question is how do I get the user id from the customer name? It seems to only show that information when i am the user.
I would prefer to use the existing members area button.
As an alternative can i run code when a user completes a purchase? In that case I could store the user id in a database together with name, and i would just add the link at a later time.