• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/paysystem/service.php
  • Класс: BitrixSalePaySystemService
  • Вызов: Service::cancel
public function cancel(Payment $payment)
{
	if ($this->isBlockable())
	{
		return $this->handler->cancel($payment);
	}

	throw new SystemException(Loc::getMessage('SALE_PS_SERVICE_ERROR_HOLD_IS_NOT_SUPPORTED'));
}