Figured out the duplicate key error was occurring when saving customer details to db... replaced existing code for storing customer info by adding a new "Store Cart Summary in DB" server behavior for the customer table and that fixed it. The problem with dealing with old code... it looks like it was originally inserted using the Store Cart Detail in DB server behavior, which caused the insert to loop through the cart for each item. The error wasn't discovered until adding additional items to the store.