Home › Forums › NanoTel › Notification Settings › Reply To: Notification Settings
Hello Andrey,
I passed a messaged to the Support team for the help:
_______________________________________________________________________
I am reserving number using tnInventory api with reserve:y flag and it is working , but when i try to place order it using tnOrder then it is not ordering even i am getting status success. But same code for tnOrder on sanbox is working perfectly.
Please check below code structure:
$postData = [
“privateKey” => “hH5_APRI8TzKqwOq9XOVrEFcsU_J”,
“tnOrder” => [
“tnList” => [
“tnItem” => [
“tn” => $number[‘telephoneNumber’],
“trunkGroup” => “ATLNGAQSNAN_1790”,
“endUser” => [
“name” => ‘Voip_us’
],
“tnFeature” => [
“callerId” => [
“cnamDip” => $number[‘cnamAllowed’] === ‘Y’ ? ‘Y’ : ‘N’
],
]
]
]
]
];
$port_in_url = ‘https://services.inteliquent.com/Services/2.0.0/tnOrder’;
$response = Http::withToken($token_id)
->withHeaders([
‘Content-Type’ => ‘application/json’,
‘charset’ => ‘UTF-8’,
])
->timeout(1000)
->post($port_in_url, $postData);
————————————————————————
Because this same above code is working perfectly on sandbox account and not working on real account.