Matthew
Matthew

Reputation: 4607

PayPal Integration into Website

I am working on a donations web page. I have created a merchant account with PayPal and have successfully integrated PayPal Checkout into my website.

The only problem is that I want to verify that the user actually made the transaction on PayPal's website. How can this be done please?

Upvotes: 0

Views: 223

Answers (1)

jrb
jrb

Reputation: 1728

Turn on Paypal IPN. It will post some parameters to a address of your choice where u must handle the POST and reply back. There should be code examples of this on paypal dev site.

Ed.

When user payment is completed PP POST to YourSite.com/PaypalIPN.. here you must process the POST from PP and reply so that PP knows you have received the POST. If you don't do this PP will continue to send payment info.

The PP POST contains stuff like order number, transaction id etc.. wich u can use to process the user order.

Upvotes: 2

Related Questions