Coinbase allows you to buy bitcoin using credit-card BUT it depends if your credit-card company allows buying crypto. Majority of credit-card companies are not allowing buying crypto, atleast in North America.