Need Additional Help?
Schedule a live meeting with Drew Angell, PayPal Certified Developer, and get all of your questions or concerns answered.
Schedule a live meeting with Drew Angell, PayPal Certified Developer, and get all of your questions or concerns answered.
Hello Andrew,
I am using rest api for recurring payment through paypal, how I recieve the last successful payment date using these api.
Please help me
Thanks
Harikesh Yadav
Hi Harikesh,
If you install the IPN template it and setup your IPN settings in PayPal to point to it then it will start logging all transactions on your account, including REST payments.
I really like this script. What would it take to get you to make a client side form to be able to change his user name and password. How much would you charge?
Do you just want to protect the admin panel? You could do that with .htaccess/htpasswd pretty easily. Google that and if you still need help you can fill out a quote request.
Thanks for a great resource, there is a lot to be improved code wise but it saved me a whole lot of time!
I’ve a few questions:
– The tables adaptive_payments, adaptive_payments_transactions and adaptive_payments_preapproval_transactions are not referenced anywhere in any of the code in the IPN handler?
I assume adaptive payment handles is not yet fully implemented supported?
– same thing for the function NVPToArray($NVPString) (in ‘functions.php’ in includes folder). I vaguely remember NVP being something completely different then IPN so I guess its old code?
– the 2 folders WA_DataAssist and WADbSearch are they used somewhere (other then in the IPN handler because there is no reference to any of those folders / files from there)?
I’ve focused on the IPN handler for now (not yet the admin part) and adapted it for CodeIgniter, I’ll check the admin and then put it online somewhere for download.
This template was built years ago and it was never meant to be a full solution of any kind. Just a quick starter template to get IPN working and saving to a database. The WA_DataAssist and WADbSearch stuff is what helps drive the admin panel that comes with the template.
The IPN handler itself just takes all of the data, parses it into individual PHP vars, and then adds them into the db so that you can easily browse it via the admin panel. It also comes with the PHPMailer and a DB wrapper to make customizing it easy.
Again, though, you will indeed need to quite a few adjustments to make this a solid solution for a full project. For example, the database tables are not normalized in any way. There are just different tables for the different IPN types.
You are correct that adaptive was never fully implemented here.
Sir,
This post with hope because I am get exhausted for searching such script which provide automatic download after payment in PayPal by customer. I am not a expert of web but lot of readings books, created my first website with my photograph for sell purpose. This is big problem of installing and how to use this script and folder creation for storage of downloadable image, please give detailed guideline for that. Provide latest information.
Please do not refuse request
Thanks
I don’t have a detailed guide readily available, unfortunately. Are you working with WordPress, by chance?
I am not working with WP. My website is independent. Sir please provide any guideline about.
Can you please help me with multiple ipn’s in single website?
So when PayPal sends an IPN, you want that same IPN data to hit multiple URLs / scripts?
Does not work with PHP7+ due to changes in how certain mysql requests are made
Yes, we plan to get that fixed. We’ll be completely revamping this whole solution so it works with existing IPN tools on Composer/Packagist and then builds in the UI more nicely as well. Stay tuned!
Can’t install. I followed instruction to no avail. Getting this error:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/house272/public_html/paypal/ipn/includes/database.class.php:76 Stack trace: #0 /home/house272/public_html/paypal/ipn/admin/install/create-db-tables.php(7): Database->connect() #1 {main} thrown in /home/house272/public_html/paypal/ipn/includes/database.class.php on line 76
What version of PHP are you running? This solution is pretty old now and hasn’t been updated for PHP 7.0+. We plan on getting to that but it just hasn’t made our priority list yet. 🙁
Andrew,
I have used this script for years and it has worked very well for me. But now I am getting notifications from PayPal that buy June it the the IPN has to be an Https call. It has to have a new $ppHost. https://ipnpb.paypal.com/cgi-bin/webscr. How do I change this? I see where I can change the $ppHost in the config.php, but I don’t see how to make it https. All these years I only used HTTP. Can you give me any direction on how to fix this issue. I don’t want to lose my PayPal IPN after June. Thanks.
Did you try updating the $ppHost field in the config file using the new address with https:// included? I think that should do it, actually. You could set that and use the IPN Simulator to test it real quick. I actually haven’t done much with this template in a while as it’s getting outdated. We do have plans to make a new one based on some of the IPN toolkits available through Composer, and then building the admin panel onto that (which is what they’re all missing right now). I’m not exactly sure when we’ll have that done, though. But yeah, updating $ppHost should do the trick.