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 community@magento.com.

Magento Forum

Default tag in config.xml
 
ankit_4aug
Jr. Member
 
Total Posts:  7
Joined:  2013-04-13
 

Hi Guys
I am new to Magento .please explain me why we need following tag in config.xml

<default>
<payment>
<paymentmodule>
<active>0</active>
<model>paymentmodule/paymentMethod</model>
<order_status>1</order_status>
<title>Credit Card (Magento Book Payment Module)</title>
<cctypes>AE,VI,MC,DI</cctypes>
<payment_action>authorize</payment_action>
</paymentmodule>
</payment>
</default>

 
Magento Community Magento Community
Magento Community
Magento Community
 
Anshu Mishra
Sr. Member
 
Total Posts:  101
Joined:  2012-04-23
India
 

Default : tells magento that these are the default settings for the module
paymentmodule : it is your module name.
active : tells status of payment method 0(disable) 1(enabled)
model : tells module which model file to consider for performing business logic
title : name that should appear on frontend
cctypes : allowed credit card types
payment action : like authorised or captured

Please do correct me if i am wrong.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top