• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/controller/action/entity/initiatepayaction.php
  • Класс: BitrixSaleControllerActionEntityInitiatePayAction
  • Вызов: InitiatePayAction::formatResponse
private function formatResponse(): ?array
{
	if ($this->errorCollection->isEmpty())
	{
		return [
			'html' => $this->serviceResult->getTemplate(),
			'url' => $this->serviceResult->getPaymentUrl(),
			'qr' => $this->serviceResult->getQr(),
		];
	}

	return null;
}