Consumer Credit Act 1974, section 75. "Connected lender liability". The card issuer is equally liable with the merchant for all claims against the merchant if the payment is within the Act's upper and lower limits - currently £100/30,000.
The claim needs to be legally valid, but is not limited to fraud. It could include simple failure to deliver.
This protection applies only to credit cards - there is no equivalent for payment by debit card.