souviiik Posted October 4, 2009 Share Posted October 4, 2009 Hi All, I am making an On-line Library, I want to keep a provision for upgrading from Free Users to Paid User. I will use PayPal as my payment gateway. Now my problem is that I am not able to update my database once a user upgrades. How to upgrade my database according to the payments made? Regards Souvik Banerjee Link to comment https://forums.phpfreaks.com/topic/176467-user-account-upgradation/ Share on other sites More sharing options...
lucifersolutions Posted October 4, 2009 Share Posted October 4, 2009 Hi, First of all, what kind of library? (files, text, documents) Then the question is, do you want a fully automated User-Upgrade, or do you want to push a button yourself? Fully-automated is possible, but then you should read the API for example of PayPal... (I know it can, haven't done it in 2 years) If you want to do it yourself (real-person verification of payment), make a page where you can UPDATE the DB with new values (the one of the Paid User) But I think that your first problem is accessing the DataBase?! Can you access? Or aren't you granted to UPDATE a table? Post problems, errors and anything else that maybe usefull Good Luck! Link to comment https://forums.phpfreaks.com/topic/176467-user-account-upgradation/#findComment-930237 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.