Zen Cart and PayPal IPN

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mattinahat
Forum Newbie
Posts: 17
Joined: Tue Jul 22, 2008 12:35 pm

Zen Cart and PayPal IPN

Post by mattinahat »

Hi,

I've been thrust into a situation where I need to work with a clients Zen Cart and I'm having some fairly fundamental issues with Zen Cart and PayPal IPN. I've done a lot of work with payment providers before using my own shopping cart and payment integration software (PayPal and Sage Pay primarily) but never used IPN (or Zen Cart for that matter) before. I'm getting to 'breakpoint 5' in the ipn_main_handler.php file - this shows that the IPN post from PayPal is valid. However when Zen Cart then tries to collect details about the order from the database and update to paid I'm getting a lot of fatal errors, usually classes or files not being found. (even the db->execute class).

I've followed all the steps here http://www.zen-cart.com/wiki/index.php/PayPal and still getting the same issues. Have I just got a naff installation of Zen Cart?

What's the best way of testing PayPal IPN - I find it quite difficult without having access to the PayPal account I'm trying to set up for it.

Any help anybody can give me would be appreciated. In fact if there is a genuine ZenCart PHP Pro here I would happily pay for some time to resolve this issue.

Cheers,
M.
Post Reply