Home Products Downloads News Store Support

Maxprog Logo  

Maxprog Scripts

Paypal IPN Handler Script

PayPal IPN script (Instant Payment Notification)
One of the best systems to sell over the internet is without any doubts PayPal. What many people don't know is that you can fully automate your PayPal sales with a very simple PHP script. You can for example send a customized message back to the customer with info about its purchase, create and send invoices, log the transactions to create the reports you really need, redirect the customer to any place so he can get the digital goods he has purchased from you or even generate software user licenses and send them inside an outstanding e-mail template. It is really amazing, you don't need to handle all those annoying PayPal notifications anymore.

You can create a PayPal Business account here:

Sign up for PayPal and start accepting credit card payments instantly.

That automatization is called IPN which stands for Instant Payment Notification. It is a feature you have to activate in your PayPal account, from the 'Profile | Instant Payment Notification' Preferences. Once done, each time a payment is done PayPal will run the PHP script hosted on your site. Due to the nature of the PHP language almost everything can be done with it.

We have ourselves automated our PayPal sales that way very successfully, actually PayPal IPN works better and gives us much more control than any other systems available on the internet. And best of all, PayPal processing fees are quite low comparing to others and get even lower depending on your sales volume so you can save 8% or more in fees per year.

At the very beginning, this is a very simple PHP script you just need to upload to your server. You can start handling payments from your customers in seconds, however you need to make some customizations to make it do exactly what you need. That means you will need to learn a bit of PHP, it is not that hard.

It is called 'ipn_process.php'. Look at the readme file in order to know how it works. This script is really simple and easy to modify in order to include more features. Currently it includes all the required checking so you can branch your code in a very straightforward manner. It also:

New paragraph generates and sends receipts by e-mail to the customers with a copy to you.
New paragraph formats and sends the customer data as XML to you by e-mail.
New paragraph saves the sales to Excel sheets, one per month and currency.
New paragraph handles all kind of errors including sending e-mails.
New paragraph handles e-checks.

The script comes in two versions, Lite and Pro. The Lite version is free for personal, non-profit and academic users as long as all copyright notices, and headers remain intact and unmodified in the source. The Pro version is $10 only! It includes several exclusive features like refunded/reversed payments handling, shopping cart support and it is the script which is being updated regularly. The Lite version can be downloaded clicking on the 'Download' button below. Commercial users must register the script purchasing the Pro version. Click on the buttons below to download the free Lite version or to purchase the Pro version:


We use this script to handle our own PayPal sales right now and we are enhancing it every single day. Once you purchase it you will be sent a link to get the very last version if available. The Pro fee includes setup support and basic advising. It doesn't include custom development, you will have to customize the script yourself.
Shortcut Back to Scripts Index Page
Manuals Online guide on how to create and publish your first newsletter
Contact us Visit our E-marketing forum
Support Get help using our support inquiry form
Note: Check back frequently as we are continuously adding more scripts to this library. If you don't find what you are looking for here, please feel free to fill a support inquiry form.

Do you like this script?

Recent questions from our users
  Why the iCash transaction amount column has disappeared NEW Screenshot
  451 Error code UPDATED Screenshot
  Problem sending email to Gmail recipients UPDATED Screenshot
  What is the meaning of the recipient panel icons UPDATED Screenshot
  How to create new projects in iCash Screenshot
  How to add transactions to iCash faster YouTube Video
  What is the best mail server I can use with MaxBulk Mailer Screenshot
  How can I export my lists to a new computer Screenshot
  How to send a HTML email Screenshot
  How to hide text in my message Screenshot
  How to transfer FTP accounts between computers Screenshot
  Google ending support for less secure apps YouTube Video
  How to add social networks icons to my message Screenshot
  How do I set up an unsubscribe link Screenshot
  How to export several lists into to a single file Screenshot

▾ Last videos, Online events and Q&A Sessions ▾
▾ Last customer reviews ▾


🔐 Secured by Sectigo SSL | UptimeRobot - Site Loaded properly