Hi, I am developing a web based service that offers subscription accounts to users. The service is in Beta mode, but I am having issues getting a PayPal IPN script to work correctly.
I am requiring a complete PayPal IPN script written in PHP that will send me an email notification when new or renewed subscription payments occur, and send a confirmation email to the subscriber. I will also require all data sent with the PayPal IPN call to be written to a MySQL database that saves all the transaction details. I would also like the script to update the users accounts, renewal or expiration date column, within a MySQL database.
The PayPal subscribe button on my website contains one hidden PayPal field called “custom” which contains the username for the subscriber. This is integral in the IPN call to write to the correct users account.
I need the script commented well for future updates. Commenting within the script that asks for the MySQL database name, username and password etc would be perfect.
Also add variables to turn on/off features, such as sending the email to user or admin.
// Send an email to the admin, yes or no
$sendemail = “yes”;
I am hoping for a simple solution that really just requires me to add the database details, email address and other variables to get up and running.
Further PHP coding jobs to hopefully follow once we get the subscriptions working correctly.
Thanks for reading this far, hopefully you have a simple cost effective solution for me.
Alternatively I would also consider a Stripe version of the above.
21 freelanceria on tarjonnut keskimäärin $165 tähän työhön
I will create paypal ipn script. It will save all the details into the database.I am also developing the script so that it will be easy to [login to view URL] have a chat.