I am looking for a tutorial which will show me how to accept paypal payments as I am not having much luck with the documentation.

In the tutorial, I just need to understand how to capture a unique identifier when the payment has been initiated, and then use the unique identifier to update the database record when payment confirms the payment via ipn.

Does such a tutorial exist?

Basically, I already have the payments working i.e. a user can make a payment and payment can send a notification to the ipn script, but I can't tell which payment paypal has accepted.

Accepted Answer

There guide is pretty well written and covers all of this:


Written by Andi
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki