What if a real users mistypes their credit card number... your order was successful.
See https://en.wikipedia.org/wiki/Luhn_algorithm for details
Having the credit card field, where you can access it, means that you become a target for people wanting to inject javascript into your site. Perhaps you're safe, but what about all the third party javascript libraries or tracking/remarketing/tracking script most sites have?
Sorry, it's a really bad idea. Let you credit card processor deal with the that hassle.
But, ok, what about an innocent CCV typo.
You need to give real users errors when they make mistakes.