I’m working no an extensions that adds fees to the cart based on state. I have two different types of fees I need to add. I got it working with a single fee. It processes the cart every 2 seconds and adds, updates, or removes the fee as needed.
I’ve now added a second fee that needs to be processed and I’m getting this error.
CartLinesApiError: Negotiation was stale.
I assume it’s because I’m running one applyCartLinesChange twice in a row. Any ideas what I should do to fix this?