Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.
For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email email@example.com.
I am trying to develop payment module for Croatian customers - to work with local payment provider. It showed up in System/Configuration/Payment Method menu and new added fields showed up in admin interface.
Now, I would like to add and configure new credit card types in Magento to use them with this new payment method.
As I understood - I can add regular expressions for credit cards in Payment/Model/Method/Cc.php through $ccTypeRegExpList - and function getCcTypes() in Payment/Model/Config.php is responsible for retrieving the array of credit card types but I do not understand from where the array of credit card types is actually retrieved i.e - where I have to actually add data for new credit card types.