Hello,

I am working on a simple paypal ipn processor and i am running into some troubles.

PayPal_IPN_Process.php - http://pastebin.ca/1368384

Code That Is Not Being Executed - http://pastebin.ca/1368387

In my test run, when someone donates, the donation is logged in the table but it was in pending status because of the reason "multi_currency".

So, i logged in and clicked "Accept" payment.

What should've happened is my donation log updated to completed status and the user should have recieved the item he/she paid for.

So, any idea why it isn't working? I've looked at the code/sql-quries in detail. Everything seems to be right but it's not working like it should. Any idea?
.