getConnection(); $installer->startSetup(); $data = array( array('paypal_reversed', 'PayPal Reversed'), array('paypal_canceled_reversal', 'PayPal Canceled Reversal') ); $connection = $installer->getConnection()->insertArray( $installer->getTable('sales/order_status'), array('status', 'label'), $data ); /** * Set default value for "skip order review page" option for Express Checkout for new installations */ $ecSkipOrderReviewStepFlagPath = 'payment/paypal_express/skip_order_review_step'; Mage::getConfig()->saveConfig($ecSkipOrderReviewStepFlagPath, '1'); /** * Set default value for "Mobile Optimized" option for Payflow Link/Advanced/Hosted Pro for new installations */ $paymentCode = array('payflow_link', 'payflow_advanced', 'hosted_pro'); foreach($paymentCode as $value) { Mage::getConfig()->saveConfig("payment/{$value}/mobile_optimized", '1'); } $installer->endSetup();