I try and sell a load of stuff to the merchant, select all the items I want to sell, then hit the confirm button to complete the transaction and WHAM, they take all the inventory but I do not receive the caps!!!!
I have lost count the amount of times this has happened. This happened in New Vegas too with the Gunrunners vendor DLC. But thankfully it was just that vendor it happened with. In Fallout 4 it happens with any merchant.
Another thing which is annoying, though not a bug.....when you want to get your rads healed by a doctor and also trade with him. After he heals your rads, the option to barter is not among the choices when he asks you if there is anything else you want. Have to back right out of the conversation, move away from him then return and re-initiate a conversation with him to get the barter option up.