Jump to content

payment module instalation problem [solved]


Recommended Posts

hi all

 

i just bought some payment module of payment by visa card. im using 1.5.3 .im trying to install it but it give me this error.

 

[PrestaShopDatabaseException]

Duplicate column name 'payment_fee'

ALTER TABLE `ps_orders` ADD `payment_fee` decimal(20,6) NOT NULL default '0',ADD `payment_fee_type` int(2) NOT NULL default '0';

at line 607 in file classes/db/Db.php

601. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);602. 		}603. 		else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))604. 		{605. 			if ($sql)606. 				throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');607. 			throw new PrestaShopDatabaseException($this->getMsgError());608. 		}609. 	}610. 611. 	/**

 

 

 

pleas anyone can help me? well be very thankfull

Edited by comzemadrid (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...