Magento News

 

reading values from config file

by mshperling770 (Posted Tue, 23 Aug 2011 13:38:27 GMT)
B”H

hey guys!
For some reason I cannot read data from admin config of the module
here are some code snippets:
system.xml

Code:
 
                           
                            text
                            adminhtml/system_config_backend_encrypted
                            pelecard/standard/merchant_name
                            2
                            1
                            1
                            0
                       

config.xml

Code:

       
           
                0
                AE,VI,MC,DI
                https://gateway.pelecard.biz/
                0
                0
               
                pelecard/standard
                1
                sale
                1
               
               
                0
           
       
   

this is the php file:

Code:
        'userName'      => Mage::getStoreConfig('payment/pelecard/merchant_name', $storeId),

in the form i get this

8WcUROtTIVVCetstqqYCAg==

instead of

PeleTest22

Any help or advice is very much appreciated
Thanks



http://magento-forum.co.uk/viewtopic.php?f=5&t=849#p2813

Magento Forum

Possibly Related Posts:


 

Leave a Reply