Skip to content

feat(payment-card): added uatp card support#4961

Merged
chasestarr merged 3 commits intouber:masterfrom
ayush712:payment-card-uatp-support
May 24, 2022
Merged

feat(payment-card): added uatp card support#4961
chasestarr merged 3 commits intouber:masterfrom
ayush712:payment-card-uatp-support

Conversation

@ayush712
Copy link
Contributor

Description

A new card type(UATP) support is added in this PR.

Created a custom card config array in custom-cards.config.js file,
So that in future if someone wants to add a new card type support,
he/she can add the configuration to custom-cards.config.js file itself.
He would not need to add the configuration in component file.

Because we support card icons as well so he would need to add a new icon
and add it to CardTypeToComponent variable.

A UATP card has a fixed length of 15 digits and its bin range lies between 1001 and 1999.
There is no CVV for UATP cards.

Scope

Minor: New Feature

@CLAassistant
Copy link

CLAassistant commented May 23, 2022

CLA assistant check
All committers have signed the CLA.

@codesandbox-ci
Copy link

codesandbox-ci bot commented May 23, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3556f52:

Sandbox Source
Basic usage Configuration

@UberOpenSourceBot
Copy link
Contributor

Visual changes were detected on this branch. Please review the following PR containing updated snapshots: ayush712#1

@chasestarr
Copy link
Collaborator

LGTM, please review and merge in the new visual snapshot changes

Co-authored-by: UberOpenSourceBot <UberOpenSourceBot@users.noreply.github.com>
@chasestarr chasestarr merged commit 439bc6c into uber:master May 24, 2022
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.

4 participants