Credits to use on your website (paid by paypal)

Fritsie2012

New member
Joined
May 4, 2012
Messages
1
Programming Experience
3-5
Dear developers,

I´m working on a website where clients should be able to buy credits which they can use for services on the site.

This is a new thing for me, so I do have a question about it and really hope someone can help me with this.

- the client logged in to his MyProfile
- the client buys credits
- the credits will be paid with paypal
- after this.....

My question is:

Does anyone know (and hopefully has an example code for this) how it works when the client has paid?

How will the credits be added to the clients account after he/she has paid?

I hope someone can help me with this and hopefully has also the code to do this.

In advance, thank you very much :))


Kind regards,
Fritsie
 
I've not really done any e-commerce stuff myself but this is not really about e-commerce, but rather it's simply about data. You'll have a Credit column in a table somewhere for that user ID and you'll simply UPDATE the value in the column for that row with the number of credits the user just purchased.
 
Back
Top Bottom