MAMP (for development)
When the last four digits of a credit card number have 0's - because the cc_num is stored as an integer, those zero's are not stored.
In my test account, with Authorize, the test card number's last four digits are 0027. This is stored in the orders table as 27 - as of course it is an integer. Shouldn't it be stored as a string field - like char(4)? That would give a correct "0027" as the last four digits....
Shouldn'T Credit_Card_Number In Orders Table Be String?
1 reply to this topic