Skip to content

Commit

Permalink
Updating default credit card rules for my own purposes.
Browse files Browse the repository at this point in the history
  • Loading branch information
lopezton committed Nov 4, 2015
1 parent 59a5bfd commit e97774e
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions ccFormat.js
Expand Up @@ -23,20 +23,9 @@
}
]
}, {
name: 'Diners Club Carte Blanch',
code: 'dccb',
pattern: /^30[0-5]/,
valid_length: [14],
formats : [
{
length: 14,
format: 'xxxx xxxx xxxx xx'
}
]
}, {
name: 'Diners Club International',
code: 'dci',
pattern: /^36/,
name: 'Diners Club',
code: 'dc',
pattern: /^3[68]/,
valid_length: [14],
formats : [
{
Expand All @@ -47,7 +36,7 @@
}, {
name: 'JCB',
code: 'jc',
pattern: /^35(2[89]|[3-8][0-9])/,
pattern: /^35/,
valid_length: [16],
formats : [
{
Expand Down

0 comments on commit e97774e

Please sign in to comment.