Bukimedia / PrestaSharp

CSharp .Net client library for the PrestaShop API via web service
GNU General Public License v3.0
155 stars 152 forks source link

Unable to get orders from multiple Shops in one PrestaShop store #312

Open bikram-bikram opened 6 years ago

bikram-bikram commented 6 years ago

Firstly, thanks for providing this code. It saved a lot of our time. There is only issue that has been bothering us for a long time. Our prestasharop store has 3 shops, but when we run the following code, we are only getting orders from one shop. OrderFactory.GetAll(); The ShopFactory.GetAll() is giving us 3 shops, so the shops are there, but just their orders are not returned.

Is there some additional code we need to write to get orders from all the 3 stores? Any help would be greatly appreciated, and thanks again for providing this code.

mktitan commented 6 years ago

We're testing a multi-shop setup with shared orders, and as soon as we enable that, we cannot retrieve all orders with OrderFactory.GetAll();. We get an internalservererror response, however it works fine manually in PostMan.