i have downloaded the paypal.class.php from phpclasses.
I am have a few questions that I need to clarify.
1. What happens if the user closes the browser after they have finished the payment on the paypal page?
2. What is the transaction id on the success page ? I use txn_id but this is different to the transaction id shown on the paypal page.
3. At what point do i run the insert into the database table ? On the success action or the ipn action?
4. I also do not get any email once which should be sent on the action of "ipn". Do you know why I am not getting this ?