

FYI, this is one of the major reasons to use digital wallets. Like Apple Pay and Google Wallet. They don’t use your actual card info when paying, but a generated virtual card instead.
Likewise one of my accounts provides both a physical card and a separate virtual card, so that’s what I enter whenever making online purchases. Easier to cancel and reissue a virtual card if there is fraud.
So a few possibilities.