• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/controller/action/paysystem/activatepaysystemaction.php
  • Класс: BitrixSaleControllerActionPaySystemActivatePaySystemAction
  • Вызов: ActivatePaySystemAction::run
public function run(int $id)
{
	$checkParamsResult = $this->checkParams($id);
	if (!$checkParamsResult->isSuccess())
	{
		$this->addErrors($checkParamsResult->getErrors());
		return;
	}

	$activateResult = $this->activatePaySystem($id);
	if (!$activateResult->isSuccess())
	{
		$this->addErrors($activateResult->getErrors());
	}
}