Answer the question
In order to leave comments, you need to log in
How to implement a user's personal money account on the site (Yii2)?
What is the best way to organize a user's personal account on the site?
It is necessary that a registered user be able to replenish the balance of a personal account or withdraw money from it.
Also, that the currency of the personal account be in dollars, regardless of how or in what currency he replenishes his account.
The site admin must receive payments to his account, after which a certain currency equivalent will be credited to the user's account on the site.
If the user ordered the payment of money from his account, then they are paid from the admin account to the specified payment account of the user. At the same time, for some intra-site operations, a commission should be charged to the account of the site administrator - this will be the income of the resource.
If possible, could you tell me schematically how it should work?
Answer the question
In order to leave comments, you need to log in
:) schematically like this :)
https://habrahabr.ru/post/259921/
here I found billing modules
https://github.com/modernkernel/yii2-billing
https://github.com/jlorente/yii2-billing
Video, which we will watch together :) from sports.ru (need to register)
https://yiiconf.ru/ru/offers/272
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question