Jump to content

User Account Upgradation


souviiik

Recommended Posts

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

:confused:

Link to comment
https://forums.phpfreaks.com/topic/176467-user-account-upgradation/
Share on other sites

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!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.