Commit 909d8faa authored by Kulya's avatar Kulya 😊

Begin adding Client to Billz 11

parent 55514042
...@@ -190,7 +190,7 @@ require_once (__DIR__.'/keys.php'); ...@@ -190,7 +190,7 @@ require_once (__DIR__.'/keys.php');
if(!empty($arSettings)) if(!empty($arSettings))
{ {
if($method=="orders.create") { $arSettings["apiversion"]="v2"; } if($method=="orders.create") { $arSettings["apiversion"]="v2"; }
if($method=="client.create") { $arSettings["apiversion"]="v2"; } if($method=="client.create") { $arSettings["apiversion"]="v1"; }
$url = $arSettings["url"].$arSettings["apiversion"]."/"; $url = $arSettings["url"].$arSettings["apiversion"]."/";
...@@ -200,8 +200,6 @@ require_once (__DIR__.'/keys.php'); ...@@ -200,8 +200,6 @@ require_once (__DIR__.'/keys.php');
'params' => $params, 'params' => $params,
]; ];
$sendData = json_encode($arData); $sendData = json_encode($arData);
$result["params"] = $sendData; $result["params"] = $sendData;
$result["url"] = $url; $result["url"] = $url;
......
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