Most of the time you’re giving that info to stripe or Shopify. But also credit cards are protected - you can dispute charges - so it’s not a huge risk IMO