All Projects → gpassarelli → parsley.js-credit-card-validator

gpassarelli / parsley.js-credit-card-validator

Licence: MIT license
A credit card validator for Parsley.js with Brands validations

Projects that are alternatives of or similar to parsley.js-credit-card-validator

Vue Interactive Paycard
Credit card form with smooth and sweet micro-interactions
Stars: ✭ 5,451 (+22612.5%)
Mutual labels:  creditcard
Cleave.js
Format input text content when you are typing...
Stars: ✭ 17,098 (+71141.67%)
Mutual labels:  creditcard
FinanceKit
FinanceKit is a Framework for iOS and Mac to build apps working with financial data, like money, currencies, stocks, portfolio, transactions and other concepts.
Stars: ✭ 15 (-37.5%)
Mutual labels:  creditcard
ThinCreditCard
💳 Simple way to add a credit card
Stars: ✭ 40 (+66.67%)
Mutual labels:  creditcard
stripe-update-card
💳 Expose a page that let your customers update their payment information on Stripe.
Stars: ✭ 16 (-33.33%)
Mutual labels:  creditcard
Cardme
Don't be constantly asking for card numbers from friends, just store them!
Stars: ✭ 19 (-20.83%)
Mutual labels:  creditcard
BankCards
中国银行卡卡号类型查询
Stars: ✭ 79 (+229.17%)
Mutual labels:  creditcard
magento2
Mollie Payments for Magento 2
Stars: ✭ 70 (+191.67%)
Mutual labels:  creditcard
Live-cc-checker
This script will check live cc and Grab proxy and check proxy if its working or not
Stars: ✭ 37 (+54.17%)
Mutual labels:  creditcard
Magento
Mollie Payments for Magento 1.x
Stars: ✭ 37 (+54.17%)
Mutual labels:  creditcard
ng-payment-card
💳 Responsive credit card component for Angular.
Stars: ✭ 27 (+12.5%)
Mutual labels:  creditcard
CCView
💳 Ready made credit card creation library. 💳
Stars: ✭ 42 (+75%)
Mutual labels:  creditcard

Parsley.js - Credit Card Validator

A credit card validator for Parsley.js including validation for specific brands

Brands Validation

This plugins offers validation for the following credit card brands:

  • Amex
  • China Union Pay
  • Dankort
  • Diners Club CarteBlanche
  • Diners Club International
  • Diners Club US & Canada
  • Discover
  • JCB
  • Laser
  • Maestro
  • Mastercard
  • Visa
  • Visa Electron

Usage

Credit Card Number

If you just want to check if the credit card number is valid, simply add the data-parsley-creditcard attribute to your input:

<input required="required" data-parsley-creditcard="" type="tel">

Credit Card Number for specific brands

If you want to check if the credit card number is valid and also check if is for a specific brand, simply add the data-parsley-creditcard attribute to your input with the value as the allowed brands, separeted with commas:

<input required="required" data-parsley-creditcard="visa,mastercard" type="tel">

Card CVC

To validate the card cvc code, add the data-parsley-cvv attribute to your input:

<input required="required" data-parsley-cvv="" type="tel">

Card Expiry Date

To validate the card expiry date, add the data-parsley-expirydate attribute to your input:

<input required="required" data-parsley-expirydate="" type="tel">

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].