One bug I found in the web version: If you "Buy and Equip" while you have an item in the slot the item would occupy, it spends your gold without putting the item in the slot or in your inventory.
Sorry for this bug and thanks for the report, it's fixed!