In our shop we are adding 10-15 items in the cart (using JSONP FC.client.request) in bulk without waiting for the previous to complete;
we noticed however that some of those are not added and the cart display less items than we sent.
All the call returns status 200 and I can see no errors in the response body. Besides all the products are the same (except for name and code) so it should not be something related to parameters.
For instance I just sent 20 requests to FC and only 17 items have been added to my cart. Do we need to wait for a call to end before sending the next one? Is there some event to listen (besides done() jsonp callback)?
What happens if a FC.client.request fails? Is done() invoked in any case or is there a different callback to handle failures?