jQuery.payment
jquery.payment is a deprecated jQuery library that formats and validates credit card input fields by automating tasks like spacing digits, restricting input to numbers, detecting card type, and running validation checks including Luhn algorithm verification. The library provides methods for formatting card numbers, expiry dates, and CVCs, along with corresponding validation functions, and supports major card types like Visa, MasterCard, American Express, and Discover. Stripe now recommends using Stripe Checkout or Stripe Elements instead, though jquery.payment will receive patches for critical security issues.