Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics RMS (Archived)

Validation Masks and MasterCard update

Posted on by

As you may know, MasterCard numbers normally start with a 5. In our RMS tender type setup, we had a validation mask for a MasterCard tender type. The mask looks like this: "5*". Recently, MasterCard has started issuing cards that start with a 2, meaning that those cards would fail to process as they did not start with 5. After some testing, I found that the validation mask line in RMS actually supports regular expressions. So entering "[25]*" (without quotes, but with brackets) means that cards starting with 2 OR 5 will work on that tender type.

Many customers probably do not separate the card types or use validation masks. However, we have specific requirements for importing the tender information into our Great Plains setup so we end up splitting them out. It also looks better on the receipt when you see the exact card type next to the tendered amount.

When we first encountered this issue, I checked the help file and found this information was incomplete. The help file only shows how to use single digits with an asterisk and does not mention regex. I thought I'd share this with the community in case anyone needs it. 

*This post is locked for comments

  • Suggested answer
    JesseBoan Profile Picture
    JesseBoan on at
    RE: Validation Masks and MasterCard update

    Marking this as answered as it was informational.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans