Paying for items with a debit or credit card has removed the pain of handing over cash, which makes it easy to give in to impulse purchases and overspend.
Finally, it helps that books are quasi commodities -- there's no need to try them on before you buy -- and that they're small-ticket, impulse items that are easy to ship.