Skip to content
This repository has been archived by the owner on Jan 10, 2018. It is now read-only.

Commit

Permalink
Merge pull request #168 from domi55/support-new-mastercard-bin-ranges
Browse files Browse the repository at this point in the history
Support new MasterCard BIN ranges (222100–272099)
  • Loading branch information
jamesreggio committed Jul 1, 2015
2 parents 3e04509 + 02f1494 commit 3943a38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions example/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="../lib/jquery.payment.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion lib/jquery.payment.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/jquery.payment.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $.payment.cards = cards = [
}
{
type: 'mastercard'
pattern: /^5[0-5]/
pattern: /^(5[0-5]|2[2-7])/
format: defaultFormat
length: [16]
cvcLength: [3]
Expand Down

0 comments on commit 3943a38

Please sign in to comment.