W
W
webquestions2016-01-05 10:22:11
PHP
webquestions, 2016-01-05 10:22:11

How to implement a user account?

Tell me, do I have an account in my personal account, deposit and withdrawal of funds is carried out through the API of payment systems, and internal operations, for example, bought a service, and so on, do we do it all inside the site? Is the invoice amount stored in our database?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrzej Wielski, 2016-01-05
@webquestions

Yes.
Create a separate table with a log of actions (for example, id, type, amount, user_id), and the user's balance field.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question