startSetup(); $installer->run(" CREATE TABLE `{$this->getTable('paypal_api_debug')}` ( `debug_id` int(10) unsigned NOT NULL auto_increment, `debug_at` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, `request_body` text, `response_body` text, PRIMARY KEY (`debug_id`), KEY `debug_at` (`debug_at`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;"); $installer->addAttribute('quote_payment', 'paypal_payer_id', array()); $installer->addAttribute('quote_payment', 'paypal_payer_status', array()); $installer->addAttribute('quote_payment', 'paypal_correlation_id', array()); $installer->addAttribute('order', 'paypal_ipn_customer_notified', array('type'=>'int', 'visible' => false, 'default' => 0)); $installer->endSetup();