Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Events related to changing types of payers
Subscribe to events, select the required fields and update the user profile.
Search events. Only I would start with the checkout component events. Or (if you need the final version, which went 100% into the order) - the event of saving the order.
There is a nuance here. Bitrix supports multiple profiles per user. Including with different types of payer. Those. having a login, you can place orders on your behalf, wife, dad, grandmother and neighbor, order for your IP ...
If you change user data in such a situation, nothing good will happen.
True, the regular 1C exchange knows nothing about this (the counterparty ID is generated based on user data, not profile). If you have 1C, then you have to forget about several profiles per user.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question