Credit cards were created over fifty years ago, long before there was such thing as the personal computers, the internet, and of course online shopping. The credit card industry has tried adding security codes and using elaborate fraud detection algorithms, but credit card fraud still thrives everyday. Even though the actual cardholder is never responsible for the costs incurred from fraud, the credit card company is.
Visa is designing a credit card with a built-in random number generator. There would be a small LCD screen on the card which would generate an 8-digit pin number which would be used for one transaction. A new number would have to be generated for the next transaction. Therefore the thief could have your credit card information, but it would be useless without having the pin number. Since the pin number would constantly change from transaction to transaction, it would be virtually impossible for a thief to guess it.