What I don't understand is that why does
MGMAT store a customer's credit card details.
As far as I know, on most of the websites the transaction is handled by a payment gateway which doesn't send back any credit card info back to the website. The transaction is executed by the payment gateway and after everything is done, the control is transferred to the website again ?
Even if they store a customer's credit card details so that the customer doesn't have to enter the details again if in case he would want to purchase more products in future, it is simply not right to store their data. It'd be better if the customer enters his credit card info himself everytime he's making a purchase.