Support

Home Forums Event Espresso Premium 2-series MasterCards marked as invalid

2-series MasterCards marked as invalid

Posted: May 13, 2019 at 4:01 pm


Shanna

May 13, 2019 at 4:01 pm

We are in the process of getting the Chase Paymentech setup and receive the ‘Invalid credit card number’ for MasterCards starting with a ‘2’.

It seems to be an validation error inside the core system or the plugin.
Is there a patch/fix for it?

Here is more info on the 2-series MasterCards: https://www.mastercard.us/en-us/issuers/get-support/2-series-bin-expansion.html

Thanks!


Shanna

May 13, 2019 at 6:42 pm

Anybody looking for a temporary fix: The credit card verification regex is located here: /event-espresso-core-reg/core/libraries/form_sections/strategies/validation/EE_Credit_Card_Validation_Strategy.strategy.php

I added “|2[2-7][0-9]{14}” to the regex which should validate the 2-series MasterCards.

This is just a temporary fix! This needs to be adjusted in a future release.


Josh

  • Support Staff

May 14, 2019 at 8:33 am

Thanks for reporting this. The next release update (4.9.81.p) will include a fix.

The support post ‘2-series MasterCards marked as invalid’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 3 months, 1 week ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!