You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When retrieving the state of the shipment with barcode we get the following deserialize error: Deserializable entity CurrentStatusResponseShipment contains unknown properties: ['Amount']
It is triggered by this function: $shipmentDetails = $this->client->getShippingStatusByBarcode($shipment->track_trace_code);
On the CurrentStatusResponseShipment class is amounts defined but the request response only contains amount. Response returned by PostNL API before deserialize;
This error will only occur for me when retrieving status of an insured shipment. I can make a PR and change the amounts to amount on the CurrentStatusResponseShipment class, but i don't know if that has any impact on other users off this package.
If I need to provide more data, please let me know.
The text was updated successfully, but these errors were encountered:
When retrieving the state of the shipment with barcode we get the following deserialize error:
Deserializable entity
CurrentStatusResponseShipmentcontains unknown properties: ['Amount']
It is triggered by this function:
$shipmentDetails = $this->client->getShippingStatusByBarcode($shipment->track_trace_code);
On the CurrentStatusResponseShipment class is amounts defined but the request response only contains amount. Response returned by PostNL API before deserialize;
This error will only occur for me when retrieving status of an insured shipment. I can make a PR and change the
amounts
toamount
on theCurrentStatusResponseShipment
class, but i don't know if that has any impact on other users off this package.If I need to provide more data, please let me know.
The text was updated successfully, but these errors were encountered: