Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Newcard/maestro #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gauravkeshre
Copy link

Added a regex to validate MAESTRO card

^(5018|5020|5038|6304|6759|676[1-3]|6220)[0-9]{12}([0-9]{2}|[0-9]{3}|[0-9]{0})$

Eg:
6763269232330618
5038188028168894222

@gauravkeshre
Copy link
Author

HI, How do I go about fixing the issue reported by the CI?
Thanks

@maxkramer
Copy link
Owner

@gauravkeshre ignore it - I switched from travis to circle a while ago. It looks like the integration hasn't been disabled. Thanks for your work!

@maxkramer
Copy link
Owner

@gauravkeshre please can you also add some tests - adding a few fake maestro cards to the plist will suffice.

Sorry the response is so late - I haven't been on this account much as of recent!

@maxkramer maxkramer self-requested a review March 11, 2017 21:23
@@ -15,6 +15,7 @@ typedef NS_ENUM(NSInteger, OLCreditCardType) {
OLCreditCardTypeDiscover,
OLCreditCardTypeDinersClub,
OLCreditCardTypeJCB,
OLCreditCardTypeMAESTRO,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maestro should be spelt accordingly

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

Successfully merging this pull request may close these issues.

2 participants