Commit 43f7ceb7 authored by Kulya's avatar Kulya 😊

Add billz clientId to order 8

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