diff --git a/intaro.retailcrm/install/index.php b/intaro.retailcrm/install/index.php index 996b212e..947b9039 100644 --- a/intaro.retailcrm/install/index.php +++ b/intaro.retailcrm/install/index.php @@ -1070,6 +1070,7 @@ class intaro_retailcrm extends CModule include($this->INSTALL_PATH . '/../classes/general/RCrmActions.php'); include($this->INSTALL_PATH . '/../classes/general/Logger.php'); + if ($api_version == 'v4') { include($this->INSTALL_PATH . '/../classes/general/ApiClient_v4.php'); include($this->INSTALL_PATH . '/../classes/general/order/RetailCrmOrder_v4.php');