beckn/vendure

On_track returns empty object for unfulfilled orders

Closed this issue · 1 comments

Only when an order is fulfilled, the on_track call returns an object. Otherwise the response is empty

@faizmagic suggested that we should not hard code a response like "Not Available". There is instead a error that can be sent as per the protocol spec. @vbabuEM , verify that and return suitably.