Commit 24562060 authored by Kulya's avatar Kulya 😊

Update Billz Curl check2

parent d12f06a8
...@@ -164,6 +164,7 @@ require_once (__DIR__.'/keys.php'); ...@@ -164,6 +164,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"; }
$url = $arSettings["url"].$arSettings["apiversion"]."/"; $url = $arSettings["url"].$arSettings["apiversion"]."/";
$arData = [ $arData = [
...@@ -176,6 +177,7 @@ require_once (__DIR__.'/keys.php'); ...@@ -176,6 +177,7 @@ require_once (__DIR__.'/keys.php');
$sendData = json_encode($arData); $sendData = json_encode($arData);
$result["params"] = $sendData; $result["params"] = $sendData;
$result["url"] = $url;
try try
{ {
......
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