S
S
schwabsergey2017-10-14 16:39:50
Yii
schwabsergey, 2017-10-14 16:39:50

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

2 answer(s)
M
Maxim Fedorov, 2017-10-14
@Maksclub

:) 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

A
Alexander, 2017-10-18
@Sassoft

https://github.com/yii2tech/balance

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question