Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AmiBX
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitrix
AmiBX
Commits
65e7268c
Commit
65e7268c
authored
Feb 13, 2022
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add billz clientId to order 5
parent
b6defe91
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
AloVoiceConnector.php
vendor/alovoice/src/AloVoiceConnector.php
+5
-2
AloVoiceRest.php
vendor/alovoice/src/AloVoiceRest.php
+1
-0
BillzRest.php
vendor/alovoice/src/BillzRest.php
+2
-2
No files found.
vendor/alovoice/src/AloVoiceConnector.php
View file @
65e7268c
...
@@ -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
])
){
...
...
vendor/alovoice/src/AloVoiceRest.php
View file @
65e7268c
...
@@ -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
);
}
}
...
...
vendor/alovoice/src/BillzRest.php
View file @
65e7268c
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment