shoppingflux / shoppingfluxexport

7 stars 7 forks source link

Missing call to validateOrders when _getCart return with an error #426

Open ghost opened 5 years ago

ghost commented 5 years ago

Expected behaviour

The function _getCart() is called in order to prepare and return a valid Cart object. In case of error in this function (Invalid SKU, Error with available quantities, ...), the webservice call to validateOrders should be triggered with the associated error detail.

Actual behaviour

validateOrders is not triggered, therefore no details are sent to ShoppingFeed concerning the state of this order.

Steps to reproduce the behaviour