How to add Custom Image Field in Category Magento

$setup = new Mage_Eav_Model_Entity_Setup('core_setup'); $entityTypeId = $setup->getEntityTypeId('catalog_category'); $attributeSetId = $setup->getDefaultAttributeSetId($entityTypeId); $attributeGroupId = $setup->getDefaultAttributeGroupId($entityTypeId, $attributeSetId); $setup->addAttribute('catalog_category', 'image1', array( 'type' => 'varchar', 'input' => 'image', 'backend' => 'catalog/category_attribute_backend_image', 'group' => 'General', 'label'…

Paypal Adaptive Payment

ini_set("track_errors", true); //set PayPal Endpoint to sandbox $sandbox=""; $API_AppID = XXXXXXXXXXXXXXXXXXX;//your adaptive payment app Id //value for check sandbox enable or disable $sandboxstatus=1; if($sandboxstatus==1){ $sandbox="sandbox."; $API_AppID="APP-80W284485P519543T"; } $url = trim("https://svcs.".$sandbox."paypal.com/AdaptivePayments/Pay");…