Created
December 19, 2017 09:53
-
-
Save neilbradley/fed981de2bfb259bc775c392ecfa2879 to your computer and use it in GitHub Desktop.
Search SagePay Suite Transaction Table in Magento for Customers who mistakenly entered a Credit Card PAN into the Nickname field
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM sagepaysuite_transaction WHERE sagepaysuite_transaction.nickname REGEXP '[[:<:]]([[:digit:]][- ]?){13,16}[[:>:]]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment