Commit 65e7268c authored by Kulya's avatar Kulya 😊

Add billz clientId to order 5

parent b6defe91
...@@ -2744,9 +2744,12 @@ CFU='; ...@@ -2744,9 +2744,12 @@ CFU=';
'checkListenerStatus' => 30, 'checkListenerStatus' => 30,
'agentsCheckDeletedUsersNumber' => 60, 'agentsCheckDeletedUsersNumber' => 60,
// 'billz_catalog_infos_synch' => 12000, // 'billz_catalog_infos_synch' => 12000,
'process_orders_synch' => 60, // 'process_orders_synch' => 60,
]; ];
if( $this->config["bitrix_domain"] == "qam.bitrix24.ru" ){
$agents['billz_catalog_infos_synch'] = 3600;
$agents['process_orders_synch'] = 60;
}
foreach($agents as $agent=>$atimeout){ foreach($agents as $agent=>$atimeout){
if( empty($this->alvagents[$agent]) ){ if( empty($this->alvagents[$agent]) ){
......
...@@ -758,6 +758,7 @@ class AloVoiceRest ...@@ -758,6 +758,7 @@ class AloVoiceRest
$arOrderParams["client_id"] = $order_client_id; $arOrderParams["client_id"] = $order_client_id;
} }
ALVC::eLog($arOrderParams,"------ Billz Order PARAMS:");
$arResOrders[] = BillzRest::createOrder($arOrderParams); $arResOrders[] = BillzRest::createOrder($arOrderParams);
} }
......
...@@ -255,8 +255,8 @@ require_once (__DIR__.'/keys.php'); ...@@ -255,8 +255,8 @@ require_once (__DIR__.'/keys.php');
$out = curl_exec($obCurl); $out = curl_exec($obCurl);
$info = curl_getinfo($obCurl); $info = curl_getinfo($obCurl);
// static::setLog( $headers, '--==== billzCurl HEADRES:' ); static::setLog( $headers, '--==== billzCurl HEADRES:' );
// static::setLog( $out, '--==== billzCurl OUT:' ); static::setLog( $out, '--==== billzCurl OUT:' );
if(curl_errno($obCurl)) { if(curl_errno($obCurl)) {
$result[ 'curl_error' ] = curl_error($obCurl); $result[ 'curl_error' ] = curl_error($obCurl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment