Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка непонятная! #21

Open
geniusstudyo opened this issue Mar 15, 2018 · 2 comments
Open

Ошибка непонятная! #21

geniusstudyo opened this issue Mar 15, 2018 · 2 comments

Comments

@geniusstudyo
Copy link

Ошибка
"success" => false
"data" => []
"errors" => array:1 [▼
0 => "Method InternetDocumentGeneral_documentsTracking not found"
]
Причем эта ошибка не всегда. Иногда она есть а иногда ее нет. Подскажите в чем проблема плиз?

@serdominus
Copy link

serdominus commented Mar 23, 2018

Изменились методы трекинга
замените функцию на

function documentsTracking($track, $phone) {
return $this->request('TrackingDocument', 'getStatusDocuments', array('Documents' => array(array('DocumentNumber' => $track, 'Phone' => $phone))));
}

соответствено вызов
$result = $np->documentsTracking('59000000000000','0670000000');

@serdominus
Copy link

Рабочий форк который ведется https://github.com/serdominus/nova-poshta-api-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants