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

Update CardBrand.Mastercard regex #2467

Merged
merged 1 commit into from
May 11, 2020
Merged

Update CardBrand.Mastercard regex #2467

merged 1 commit into from
May 11, 2020

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

This better aligns the validation logic of the Android and iOS SDKs [0]

[0] https://github.com/stripe/stripe-ios/blob/master/Stripe/STPBINRange.m#L52

Motivation

Fixes #2465

Testing

Add unit test

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

Successfully merging this pull request may close these issues.

Card validation failing with some specific cards
5 participants