# stripe-archive/jquery.payment

[DEPRECATED] A general purpose library for building credit card forms, validating inputs and formatting numbers.

Repository: https://github.com/stripe-archive/jquery.payment
Canonical: https://ross.abutalabs.com/products/jquerypayment
Language: CoffeeScript
License: MIT
License Family: permissive
Archived: true
Last push: 2017-08-02T14:10:57+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5001, "days_push": 3318, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3508, forks 663 (observed 2026-08-28T04:08:07.666506+00:00)

## What it is
A deprecated jQuery plugin by Stripe for building credit card payment forms, providing input formatting and client-side validation of card numbers, expiry dates, and CVCs. It formats card number inputs with spacing and length restrictions and validates via the Luhn algorithm.

## Use cases
- format credit card number input with spaces every 4 digits
- validate credit card numbers client-side with Luhn check
- format and validate card expiry date fields
- restrict numeric input in payment forms
- detect card type (Visa, MasterCard, Amex) as user types

## When to choose
- maintaining a legacy jQuery-based checkout form that already uses this library
- you need lightweight client-side card validation without Stripe Elements

## When to avoid
- starting a new payment form project - it is deprecated in favor of Stripe Elements or Stripe Checkout
- you need server-side card validation or payment processing
- your stack does not use jQuery

## Facets
- artifact type: library
- maturity: maintenance
- function: form-handling, ui-components
- domain: fintech, web-development, frontend
- platform: browser
- tags: credit-card-forms, input-formatting, luhn-validation, deprecated, jquery-plugin, payment-forms, jquery, javascript

## Member repositories
- stripe-archive/jquery.payment (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:07.666506+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:35:44.696386+00:00, confidence not recorded.
  - readme: https://github.com/stripe-archive/jquery.payment (fetched 2026-08-28T04:08:07.666506+00:00, sha b72075299e84)
- Data as of 2026-08-30T08:39:29.467469+00:00.
