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

[Validator] Add support for UATP card validation #29504

Merged
merged 1 commit into from Dec 10, 2018

Conversation

Projects
None yet
6 participants
@raulfraile
Copy link
Contributor

commented Dec 7, 2018

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
License MIT

UATP (Universal Air Travel Plan) is the airline owned payment network accepted by thousands of merchants for rail, air, hotel and travel agency payments. This PR adds support for UATP cards so they can be validated using the Symfony Validator component.

According to https://en.wikipedia.org/wiki/Payment_card_number, all UATP cards start with 1, have a length of 15 digits and follow the Luhn algorithm. Test card numbers can be generated from https://www.myfakeinfo.com/creditcard/uatp-debit-card.php

@chalasr chalasr added this to the next milestone Dec 9, 2018

@fabpot

fabpot approved these changes Dec 10, 2018

@fabpot fabpot force-pushed the raulfraile:feature/uatp-card-validation branch from b83ceca to 2446a17 Dec 10, 2018

@fabpot

This comment has been minimized.

Copy link
Member

commented Dec 10, 2018

Thank you @raulfraile.

@fabpot fabpot merged commit 2446a17 into symfony:master Dec 10, 2018

1 of 3 checks passed

continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
fabbot.io Your code looks good.
Details

fabpot added a commit that referenced this pull request Dec 10, 2018

feature #29504 [Validator] Add support for UATP card validation (raul…
…fraile)

This PR was squashed before being merged into the 4.3-dev branch (closes #29504).

Discussion
----------

[Validator] Add support for UATP card validation

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

[UATP](https://en.wikipedia.org/wiki/Universal_Air_Travel_Plan) (Universal Air Travel Plan) is the airline owned payment network accepted by thousands of merchants for rail, air, hotel and travel agency payments. This PR adds support for UATP cards so they can be validated using the Symfony Validator component.

According to https://en.wikipedia.org/wiki/Payment_card_number, all UATP cards start with `1`, have a length of 15 digits and follow the [Luhn algorithm](https://en.wikipedia.org/wiki/Luhn_algorithm). Test card numbers can be generated from https://www.myfakeinfo.com/creditcard/uatp-debit-card.php

Commits
-------

2446a17 [Validator] Add support for UATP card validation

javiereguiluz added a commit to symfony/symfony-docs that referenced this pull request Jan 3, 2019

minor #10832 Added the UATP number scheme to CardScheme constraint (j…
…aviereguiluz)

This PR was merged into the master branch.

Discussion
----------

Added the UATP number scheme to CardScheme constraint

Documents symfony/symfony#29504

Commits
-------

33474e6 Added the UATP number scheme to CardScheme constraint

@nicolas-grekas nicolas-grekas modified the milestones: next, 4.3 Apr 30, 2019

@fabpot fabpot referenced this pull request May 9, 2019

Merged

Release v4.3.0-BETA1 #31435

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.