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.
There guide is pretty well written and covers all of this:
https://cms.paypal.com/cms_content/en_US/files/developer/PP_OrderMgmt_IntegrationGuide.pdf
PayPal has multiple ways to accept payment. Here is the site to PayPal developer site where you will find all the options: https://www.x.com/community/ppx/dev-tools
Here is a good tutorial on how to integrate your shopping cart with PayPal Website Payments Standard.
The PayPalIPN class provided by the toolkit I developed handles the entire IPN confirmation under the hood. You only need to get the data and update the order in the database. Optionally, you can also notify the customer with your own customized invoice or other information.
来源:https://stackoverflow.com/questions/5593136/looking-for-paypal-payments-tutorial