Solved it - I'd done something silly and copied across more files then required - as a result I ended up with some other module's code in there that shouldn't have been. Went back through my original php files, just adding in the required modifications, and it's solved. I have another problem now though! When I view the order in the admin section, I am seeing what looks like an encrypted credit card number. Anyone got any thoughts on this?