How can I add a captcha to my checkout to prevent bot attacks?

I’m getting attacked by bots with fraudulent credit cards, I’m talking about hundreds of attempts with cards until they get one approved. The payment provider tells me that I have to add a captcha to checkout. How I can do this?

If you have Shopify Plus, you have bot protection within your Shopify settings. you can also manually add the captcha to your checkout page by coding in one.

Otherwise you can set to require account before checkout to at least minimize bot attacks.

What is Shopify Plus?

Shopify Plus is a higher tier plan with extra functionality built in like bot protection and the ability to modify the checkout page like adding a captcha before checking out. For more information about Shopify plus check it out here. https://www.shopify.com/plus

I tried the suggestion of enabling “Accounts are required” (now called Legacy Accounts) and it does not seem to bee slowing down the bots at all.