PDOException Object
(
    [message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'chargepayment_cards' already exists
    [string:Exception:private] => 
    [code:protected] => 42S01
    [file:protected] => /var/www/prod/lib/Varien/Db/Adapter/Pdo/Mysql.php
    [line:protected] => 276
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/prod/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 276
                    [function] => query
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE `chargepayment_cards` (
   `entity_id` int(10) unsigned NOT NULL auto_increment,
   `customer_id` varchar(255) NOT NULL ,
   `card_id`  varchar(255) NOT NULL ,
   `bin` varchar(7) NOT NULL ,
   `card_number`  varchar(7) NOT NULL ,
   `save_card` varchar(1) NOT NULL,
   `card_type`  varchar(20) NOT NULL ,
    PRIMARY KEY  (`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/prod/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 397
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE `chargepayment_cards` (
   `entity_id` int(10) unsigned NOT NULL auto_increment,
   `customer_id` varchar(255) NOT NULL ,
   `card_id`  varchar(255) NOT NULL ,
   `bin` varchar(7) NOT NULL ,
   `card_number`  varchar(7) NOT NULL ,
   `save_card` varchar(1) NOT NULL,
   `card_type`  varchar(20) NOT NULL ,
    PRIMARY KEY  (`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
                        )

                )

            [2] => Array
                (
                    [file] => /var/www/prod/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 636
                    [function] => multi_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
CREATE TABLE `chargepayment_cards` (
   `entity_id` int(10) unsigned NOT NULL auto_increment,
   `customer_id` varchar(255) NOT NULL ,
   `card_id`  varchar(255) NOT NULL ,
   `bin` varchar(7) NOT NULL ,
   `card_number`  varchar(7) NOT NULL ,
   `save_card` varchar(1) NOT NULL,
   `card_type`  varchar(20) NOT NULL ,
    PRIMARY KEY  (`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/prod/app/code/community/CheckoutApi/ChargePayment/sql/chargepayment_setup/mysql4-install-2.6.2.php
                    [line] => 19
                    [function] => run
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
CREATE TABLE `chargepayment_cards` (
   `entity_id` int(10) unsigned NOT NULL auto_increment,
   `customer_id` varchar(255) NOT NULL ,
   `card_id`  varchar(255) NOT NULL ,
   `bin` varchar(7) NOT NULL ,
   `card_number`  varchar(7) NOT NULL ,
   `save_card` varchar(1) NOT NULL,
   `card_type`  varchar(20) NOT NULL ,
    PRIMARY KEY  (`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/prod/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 376
                    [args] => Array
                        (
                            [0] => /var/www/prod/app/code/community/CheckoutApi/ChargePayment/sql/chargepayment_setup/mysql4-install-2.6.2.php
                        )

                    [function] => include
                )

            [5] => Array
                (
                    [file] => /var/www/prod/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 276
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => install
                            [1] => 
                            [2] => 2.6.2
                        )

                )

            [6] => Array
                (
                    [file] => /var/www/prod/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 240
                    [function] => _installResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 2.6.2
                        )

                )

            [7] => Array
                (
                    [file] => /var/www/prod/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 161
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [8] => Array
                (
                    [file] => /var/www/prod/app/code/local/Mage/Core/Model/App.php
                    [line] => 363
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [9] => Array
                (
                    [file] => /var/www/prod/app/code/local/Mage/Core/Model/App.php
                    [line] => 295
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [10] => Array
                (
                    [file] => /var/www/prod/app/Mage.php
                    [line] => 596
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => default
                                    [scope_type] => store
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [11] => Array
                (
                    [file] => /var/www/prod/index.php
                    [line] => 117
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => default
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42S01
            [1] => 1050
            [2] => Table 'chargepayment_cards' already exists
        )

)