Commit 65e7268c authored by Kulya's avatar Kulya 😊

Add billz clientId to order 5

parent b6defe91
......@@ -2744,9 +2744,12 @@ CFU=';
'checkListenerStatus' => 30,
'agentsCheckDeletedUsersNumber' => 60,
// '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){
if( empty($this->alvagents[$agent]) ){
......
......@@ -758,6 +758,7 @@ class AloVoiceRest
$arOrderParams["client_id"] = $order_client_id;
}
ALVC::eLog($arOrderParams,"------ Billz Order PARAMS:");
$arResOrders[] = BillzRest::createOrder($arOrderParams);
}
......
......@@ -255,8 +255,8 @@ require_once (__DIR__.'/keys.php');
$out = curl_exec($obCurl);
$info = curl_getinfo($obCurl);
// static::setLog( $headers, '--==== billzCurl HEADRES:' );
// static::setLog( $out, '--==== billzCurl OUT:' );
static::setLog( $headers, '--==== billzCurl HEADRES:' );
static::setLog( $out, '--==== billzCurl OUT:' );
if(curl_errno($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