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 #248 from stripe/jenan-remove-elo
Browse files Browse the repository at this point in the history
Remove 'elo' card type.
  • Loading branch information
jenanwise authored Sep 27, 2016
2 parents c5937df + 88ced31 commit 2608b30
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 62 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ Supported card types are:
* Maestro
* Forbrugsforeningen
* Dankort
* Elo

(Additional card types are supported by extending the [`$.payment.cards`](#paymentcards) array.)

Expand Down Expand Up @@ -162,7 +161,6 @@ Returns a card type. Either:
* `maestro`
* `forbrugsforeningen`
* `dankort`
* `elo`

The function will return `null` if the card type can't be determined.

Expand Down
7 changes: 0 additions & 7 deletions 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 lib/jquery.payment.min.js

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

30 changes: 0 additions & 30 deletions src/jquery.payment.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,6 @@ $.fn.payment = (method, args...) ->
defaultFormat = /(\d{1,4})/g

$.payment.cards = cards = [
# Elo has a lot of bins scattered throughout bin-space. Some are one-off, and
# some are large ranges. We include the full one-offs here and some range
# prefixes.
{
type: 'elo'
patterns: [
401178,
401179,
431274,
438935,
451416,
457393,
457631,
457632,
504175,
506699,
5067,
509,
627780,
636297,
636368,
650,
6516,
6550,
]
format: defaultFormat
length: [16]
cvcLength: [3]
luhn: true
}
{
type: 'maestro'
patterns: [
Expand Down
Loading

0 comments on commit 2608b30

Please sign in to comment.