omniva-baltic / omniva-api-lib

12 stars 7 forks source link

Responce from Tracking event seems wrong, a temp fix is suggested #56

Open flyingbaba opened 5 months ago

flyingbaba commented 5 months ago

Greetings,

After the update to a newer version we have a issue regarding the Tracking.

$all_trackings = $all_trackings['tracking'];

It looks like inside the /src/Shipment/Tracking.php

public function getTracking($barcodes) { ..... $all_trackings = $this->request->getTracking(); // here responce is in array, so in our case we added one line after this like:

$all_trackings = $all_trackings['tracking'];

And it should fix the problem.

markakk commented 5 months ago

Hello,

In order for us to check and fix the problem, we need you to contact Omniva which will create a task for us.