How could I get the value (text, not the code) of cc_type
in my payment gateway model?
In payment gateway model for authorize()
and capture()
I do get $payment
object from which I do get cc_type
as $payment->getCcType()
but it returns the code for the cc_type
how could I get the value of the code. e.g., it return VI for the VISA. So, how could I get VISA from the $payment
or $payment->getCcType()
?