How to get Paypal Credentials Programmatically in Magento1.9


We can get store wise Paypal credentails in magento 1.9 using below code.

$store = Mage::app()->getStore(Mage::app()->getStore()->getStoreId());

$Email = Mage::getStoreConfig('paypal/general/business_paypal/general/business_accountaccount');
$UserName = Mage::getStoreConfig('paypal/wpp/api_username',$store);
$Password = Mage::getStoreConfig('paypal/wpp/api_password',$store);
$Signature = Mage::getStoreConfig('paypal/wpp/api_signature',$store);

Oldest

ConversionConversion EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng