The Consumer Credit Act is the piece of legislation that makes credit card issuers jointly liable with the supplier if something goes wrong on a purchase between £100 and (I think) £30,000.
Debit cards are NOT covered as they are not a means of borrowing.