
Originally Posted by
hem
Okay, I've had a long hard look at the IPN code and followed through the logic. I nearly wrote a test environment which would simulate a valid IPN session but then sanity kicked in.
I think I may have been wrongly assuming that my observer class never got called. It looks like now that the class is being called but IPN is not passing the customer_id via a $_SESSION variable.
So, I've done two things. I've changed the hook (again) and also told the mod to look for the customer_id in other places.
Fingers crossed that this works. At this stage I've spent more time trying to debug IPN than it took me to write the mod in the first place.
Bookmarks