15

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.

oshirowanen
  • 15,297
  • 82
  • 198
  • 350
  • This tutorial explains integrating paypal on android http://www.androidhive.info/2015/02/android-integrating-paypal-using-php-mysql-part-1/ – Minion Feb 26 '15 at 05:55

3 Answers3

8

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

Andrew
  • 9,967
  • 10
  • 64
  • 103
  • Looking at this guide, would I be right to assume that I need to continue reading about IPN instead of PDT? Basically, I will just be taking a 1 off subscription fee from the users and will not be selling anything. Does that mean I don't need PDT as I am not a merchant? – oshirowanen Apr 08 '11 at 09:51
  • yes, but it only guide and not complete how to do that. I think we as programmer better get tutorial by code. not just explanation. – GusDeCooL Apr 27 '12 at 20:02
0

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

Achinth Gurkhi
  • 2,136
  • 4
  • 24
  • 45
0

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.

user337620
  • 2,239
  • 3
  • 19
  • 19