A
A
Alexander2020-02-04 11:25:03
1C-Bitrix
Alexander, 2020-02-04 11:25:03

Is it possible to create a common internal account for several buyers in Bitrix?

The task, based on the Small Business editorial team, is to create an online food store where food will be sold to corporate clients, when several buyers are tied to one organization so that they can shop on the site from one common account, which will be periodically replenished.

The bottom line is that each corporate client orders his own menu, but the money for the purchase is deducted from the overall balance of the organization. Each corporate buyer belongs to its own group, for example, the Firm 1 group and 3 employees in it.
There are 1000 rubles on the company’s account, employee Masha bought for 250 rubles, and employee Sasha for 200 rubles, employee Kostya did not order anything today, in total 450 rubles were debited from the organization’s total account.

How can such functionality be implemented?

One of the options, as I suggested, is that one of the buyers can be made a group moderator and his balance can be made the balance of the organization, the rest of the users will have to receive money from his balance when they buy goods. There are a lot of moments here with the question at what stage of the purchase should the money be debited from the moderator's account, on the OnSaleOrderBeforeSaved event or earlier so that Bitrix does not swear at an error when placing an order?

But perhaps this is superfluous and it is possible to somehow link several users to one internal account so that one of them can replenish it, and everyone else can buy from it?

Bitrix also has the functionality of the Company https://dev.1c-bitrix.ru/learning/course/index.php...but is it possible to link the account to the Company, so that users can pay from it, I don’t know.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
serginhold, 2020-02-04
@inviziblll

Stop asking the same thing
Do it yourself, there are no such buttons / settings.
It's easier to create your own payment method that will use a shared account.
Accounts - a separate table.
Linking users to shared accounts is a separate table.
Figak and in production, if the hands grow from the right place.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question