Skip to content
C

Credit Card Validations

ruby gem for validating credit cards, generating credit card numbers

by didwwFree

#2561in Productivity
0In stores

Description

CreditCardValidations is a Ruby gem that checks whether a card number is well formed before you attempt verification. It validates the numbe…

Highlights

  • Validates card numbers against BIN ranges and the Luhn check
  • Eight major brands detected out of the box
  • Opt-in plugins for regional and specialty networks
  • Legacy and withdrawn networks listed with their status
  • Ruby gem with source on GitHub

Ratings & Reviews

No ratings yet

Be the first to rate Credit Card Validations.

People also visit

M

MASS-CC-CHECKER

A modern, minimalist web-based tool for validating credit card numbers

Utilities
Launch
N

NamsoGen

NamsoGen generates random valid credit card numbers for testing and validation

Developer Tools
Launch
C

Credit Card Generator

Generate valid credit card numbers instantly for secure test

Finance
Launch
R

react-credit-cards

Beautiful credit cards for your payment forms

UI Libraries
Launch
N

Nope Validator

A small, simple, and fast JS validator. Like, wow that's fast

Productivity
Launch
R

react-credit-cards-2

Beautiful credit cards for your payment forms

UI Libraries
Launch

Credit Card Validations FAQ

What is this gem for?

Checking that a credit card number is well formed before you try to verify it. It is a validator, not a payment processor.

Which card brands are detected by default?

American Express, China UnionPay, Diners Club, Discover, JCB, Maestro, MasterCard and Visa.

How do I add other networks?

Require the opt-in plugin for the network you need. The README says regional and specialty networks are detected only when their plugin is explicitly required.

How do I install it?

Add the gem to your application's Gemfile, as the README describes.

What are the best Credit Card Validations alternatives?

Popular alternatives to Credit Card Validations include Nope Validator, Email Spell Checker and myCart. See all Credit Card Validations alternatives

Developer Stuff

Badges