Commit 43f7ceb7 authored by Kulya's avatar Kulya 😊

Add billz clientId to order 8

parent fedf8baa
...@@ -925,22 +925,24 @@ class AloVoiceRest ...@@ -925,22 +925,24 @@ class AloVoiceRest
$arOrderProducts = [ $arOrderProducts = [
[ [
"office_id" => $officeId, "office_id" => $officeId,
"id" => 6154, "id" => 7452,
"billz_id" => 2641209, "billz_id" => 3448138,
"quantity" => 2, "quantity" => 1,
"price" => 1200, "price" => 8000,
"discount" =>180 "discount" =>0
] ]
]; ];
$arOrderParams = [ $arOrderParams = [
"order_id" => "123123123", "order_id" => "62",
"paytype" => "payme", // "paytype" => "payme",
// "datePaid" => "2018-03-27T09:19:25.667Z", // "datePaid" => "2018-03-27T09:19:25.667Z",
"products" => $arOrderProducts "products" => $arOrderProducts
"client_id" => 1523150
]; ];
$createRes = BillzRest::createOrder($arOrderParams); $createRes = BillzRest::createOrder($arOrderParams);
// answer { // answer {
// "settings": { // "settings": {
...@@ -957,6 +959,7 @@ class AloVoiceRest ...@@ -957,6 +959,7 @@ class AloVoiceRest
// } // }
// } // }
var_dump($createRes);
return $createRes; return $createRes;
} }
......
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