How to add credit card validation check to wordpress [closed]
If by “valid credit card”, you mean a valid credit card number, then that can be done automatically with JavaScript. You’re looking for a Luhn algorithm implementation. Here’s one I just found on GitHub: https://gist.github.com/DiegoSalazar/4075533 Otherwise, if you want to validate that it’s an active credit card that can support a payment of a certain … Read more