privacy policy

Paypal IPN Information

Paypal Instant Payment Notification
Instant Payment Notification (IPN) is a Paypal feature that allows details of a transaction to be posted back to the vendor's website and used for whatever back end purposes are required. The strength of the system is that it doesn't require the buyer to return to the vendor's site since the post back is asynchronous and happens when the buyer makes the transaction.

The system seems straightforward and Paypal provide a guide on implementation. We were asked to provide a PHP script for a customer using Paypal Buy Now buttons so that an email would be triggered automatically informing buyers about their purchase. It should have been easy but it proved to be one of the most frustrating jobs we've worked on and made us feel like complete amateurs.

What made it difficult was that the script isn't run directly but triggered by Paypal and therefore, if it fails, there is no error report – it either works or it doesn't. We started by trying to run it on Sandbox – the Paypal test server, which Paypal claims duplicates the live server. We couldn't get it to work on Sandbox and checking developer forums about the problem revealed that mostly everyone else couldn't either.

Other irritations included not realising that tests to Sandbox won't work if you're not logged on to the development site as well as Sandbox running so slowly that often the connection would time out. We were unsure if the problem was with the script or Paypal not calling it so we ran it directly on the customer's server to see if any syntax errors would show up. Unfortunately what we didn't know was that, for some reason, the customer's server didn't report errors on PHP scripts until we ran it on our own server to find that we did have syntax errors.


Eventually we got the script to run on the Paypal live site and would make the following recommendations to anyone trying to implement IPN.



Advertisement


© 2000-2008 smallbizonline website design Tel: 01501 771106 Privacy Policy  Terms & Conditions    RSS Feeds
We accept Visa, Mastercard, Electron, Delta, Maestro, Link, Amex, Solo and Paypal

Reviewed and approved by the Good Net Guide UK Database Driven Web Designers
Paypal IPN information
Professional Web Design Services



01501 771106