I am new to PHP and integrating into Paypal. I tried the code from below and modified it by adding code similar to creating an email confirmation code some, but cannot get it to work (I have uploaded the code with changes I have made...I did block out the db infor and replaced the company name and email address in the sample code I have attached.):
http://www.opendb.net/paypal_ipn.php
Honestly, I only need to confirm payment was made successfully and send a code that can be used to authenticate the person before they can upload a file. I have looked at the paypal sample code but cannot figure out how to get it to post the transaction id and then to use that as the authentiation and to generate the email to the buyer.
By the way, I am using a Buy It Now button with a notify_url embedded. It also has several choices the person can choose from and those choices determine the amount they pay.
PLEASE HELP! Thanks in advance!!!
[attachment deleted by admin]