Wow, it’s been a while since I’ve posted a blog entry! This one’s about a few simple mistakes I’ve made while utilising PayPal IPN through PHP – hopefully they’re helpful to someone!
A word to the wise – when you’re using mail() in PHP and everything seems to have completed fine, but you don’t seem to get an email, check that the email isn’t being picked up as spam. This just so happened (I believe), because I had the sender’s address set to a randomly generated PayPal sandbox address which looked suspect.
Also, another stupid moment I had – when testing PayPal IPN, it pays to remember that the sandbox IPN simulator does not return a VERIFIED or INVALID status; you’ll need the sandbox for that.
These are seemingly really simple things, but sometimes we tend to overlook the simple things.
Also, my apologies for the lack of updates to WebCipher – things have been pretty hectic lately, and I just haven’t had to time to update it. My Uni exams will be over in 2 weeks, at which time I’ll have 4 months holiday, so there’ll be some catch up on WebCipher development and various web projects.
Steven
The great thing from here is that I simply have to change the PayPal address that the script points to, and the automated sale system will work perfectly!

