Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new rules to elo #61

Closed

Conversation

nathanpsouza
Copy link

New rules for Elo brand.

Added as regex.

@Fivell
Copy link
Member

Fivell commented Mar 1, 2016

@nathanpsouza , where did you get this information ?

@nathanpsouza
Copy link
Author

@Fivell
Copy link
Member

Fivell commented Mar 2, 2016

@nathanpsouza , some tests are failing

@Fivell
Copy link
Member

Fivell commented Mar 4, 2016

@nathanpsouza , are you going to fix tests?

@nathanpsouza
Copy link
Author

On weekend i will look at this.

@Fivell
Copy link
Member

Fivell commented Mar 4, 2016

👍

@Fivell
Copy link
Member

Fivell commented Mar 4, 2016

copy/paste source of new elo bind

Validação para cartão de crédito.

Bin e padrões para validação de cartão de crédito.

Repositório para esta gist

Os dados dos cartões: Elo, Hipercard desta tabela não são oficiais.
Tentei diversas vezes falar com o pessoal dessas bandeiras afim de ter uma informação oficial, porém, é muito difícil falar com o setor técnico e as atendentes nem sabem o que é bin de cartão :(

Esta tabela inicialmente foi montada com coleta de dados de cartões de crédito reais. Onde o usuário colocava o número do cartão de crédito dele e quando não conseguíamos saber qual a banheira pedíamos para que o usuário selecionasse a bandeira e desta forma armazenavamos os primeiros digitos do cartão.

Pull Request, contribua

Fique a vontade para mandar um PR para que esta tabela permaneça atualizada. Ao fazer o PR por favor, informe como conseguiu essa informação de atualização para que possamos sempre ter dados confiáveis nesta tabela.

Bandeira Começa com Máximo de número Máximo de número cvc
Visa 4 13,16 3
Mastercard 5 16 3
Diners 301, 305, 36, 38 link 14,16 3
Elo 4011, 401178, 401179, 431274, 438935, 451416, 457393, 4576, 457631, 457632, 504175, 504175, 506699 à 506778, 509000 à 509999, 627780, 636297, 636368, 636369, 650031 à 650033, 650035 à 650051, 650405 à 650439, 650485 à 650538, 650541 à 650598, 650700 à 650718, 650720 à 650727, 650901 à 650920, 651652 à 651679, 655000 à 655019, 655021 à 655058 16 3
Amex 34,37 15 4
Discover 6011, 622, 64, 65 16 4
Aura 50 16 3
jcb 35 16 3
Hipercard 38,60 13,16,19 3

Contribuidores

@Fivell
Copy link
Member

Fivell commented Apr 22, 2016

jessepollak/payment#27

@Fivell
Copy link
Member

Fivell commented Aug 2, 2016

@nathanpsouza , are you still working on it?

@diegorv
Copy link

diegorv commented Sep 12, 2016

@Fivell Can I handle with this PR?

Probably @nathanpsouza will not fix this errors hehe :x

@Fivell
Copy link
Member

Fivell commented Sep 12, 2016

@diegorv , sure

@Fivell
Copy link
Member

Fivell commented Jan 3, 2017

@diegorv , are you on it?

@diegorv
Copy link

diegorv commented Jan 12, 2017

@Fivell Sorry man! I leave the project and I will not work with this anymore.. :/

@Fivell Fivell closed this Feb 7, 2017
@Fivell
Copy link
Member

Fivell commented Feb 7, 2017

#75 replaces this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants