I have an idea on how I want my payment process to work and I have seen one other site do the same thing but I do not know where to start so help me. I want to have an email sent out automatically to the user with a link to the download I am selling... but i want it sent out after I receive the payment from this user. How could I do this? I know the other site uses paypal for payments now I just need it to send auto email with link to download. Someone help me fast please! Sincerely, David C.
If you are using PayPal (it wasnt clear from your post) you need to use the Instant Payment Notification service they offer on their standard and pro services. This is a web service which confirms the payment status with your site "behind the scenes" and once received your site is free to act on that information as necessary. PayPals own site gives basic instructions on how to do this and plenty of other sites have example scripts in ASP/ PHP/ .Net etc on how to get down to the "everything is ok" level and you then simply need to add your send mail type script within the if statement.