Lots of credit card companies have restrictions on where they can be used. Cryptocurrency is an obvious example.
The problem is that there are a lot of laws around gun purchase, especially globally, and the legal repercussions (federal and civil) of an illegal gun sale can be a LOT more than the repercussions of selling illegal beer.