Steven McTainsh is a web developer based in New Zealand who loves creating websites.
Home

Archive for October, 2009

PayPal IPN woes

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!

Who am I?

I'm a web developer who is currently proficient in XHTML, CSS, PHP, MySQL and JavaScript. In addition to web programming, I also enjoy software development with C#. My portfolio and blog are a platform for me to demonstrate my abilities and voice my opinions on various (primarily) computing related topics. Since 2009, I have been studying at the University of Waikato.

Can't find what you're looking for?

A quick note:

You are currently browsing the smctainsh.com Blog blog archives for October, 2009.

Archives

Categories

Meta

RSS Feed Icon EntriesComments

Powered by Wordpress