Simple Paypal Ipn Integration – Php Write To Mysql Database

I am looking for integration of the Paypal Instant Payment Notification PHP example into my website.

I already got a form on the website/login area where the user inputs the amount he wishes to add to his account and if the paypal transaction is verified the balance on his account will be updated afterwards (insert into mysql database).

At the moment it is all working but in asp.net/windows server. I want to replace the functionality by a simple php script.

Requirements:

– Secure (check if receiver email is correct, amount, and so on. The basic stuff)

– Writing the amount to the user account only if the payment was received successfully (verify via IPN / mysql database – simple update query).

There are several examples all over the web, including the official paypal documentation/sandbox, could be a quick job for skilled Php coders. What i care most about is the integration into the website, the ipn setup is not so hard.

Paypal sandbox account for testing is already available, also some script examples / basic ipn.php …

Thanks for your bids.

Leave a Reply

Your email address will not be published. Required fields are marked *