Hi everyone,
I am new to the forums and relatively new to php/mysql.
I had a script written for me that is an IPN (Instant Payment Notification), it is written in PHP.
The script is meant to log all transactions in the 'transactions' table (I have created). Then it is supposed to run a mysql query upon successful payment and modify another table. Upon refund it also runs another query and re-modifies the table once again.
But for some reason it is not working, it is logging a history with PayPal IPN History, but it is not modifying any of the values in the table or even creating any entries in the 'transactions' table.
I would really appreciate your help in looking through it and giving me any reasons as to why it may not be running the queries.
Due to the character limit on the forums, I have put the php file in a txt file on my web server here: http://www.cargenie.com.au/ipnscript.txt
I appreciate any replies, thank you all!