Thank you for your post! It's not permitted to take credit card information for payments without one of the products that is designed for that purpose, such as PayPal Here or Virtual Terminal. PayPal Here is meant for transactions in person where the card is present, and Virtual Terminal allows for transactions over the phone. Please take a look at the information I've linked to learn more about those products.
I hope this helps!
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.