- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
if ($this->_hasParam('error')) {
if (intval(htmlentities($this->getRequest()->getParam('error'))) == -1100) {
$this->payment_messages->addMess($this->translate->translate('please.remember.fill'));
} elseif (intval(htmlentities($this->getRequest()->getParam('error'))) == -1300) {
$this->payment_messages->addMess($this->translate->translate('credit.card.not.accepted'));
} elseif (intval(htmlentities($this->getRequest()->getParam('error'))) == -1022) {
$this->payment_messages->addMess($this->translate->translate('transaction.declined.card.number'));
} elseif (intval(htmlentities($this->getRequest()->getParam('error'))) == -1018) {
$this->payment_messages->addMess($this->translate->translate('transaction.declined.card.number'));
} else {
$this->payment_messages->addMess($this->translate->translate('payment.system.error'));
}
$this->view->payment_messages = $this->payment_messages->getMess();
}
Lure Of Chaos 23.03.2012 17:57 # +6
больше неразберихи в код, еще больше!
Razban_Guestov 23.03.2012 19:39 # 0
Видимо team leader'у зарплату не платят, вот он протянутые руки кодит (=
DBdev 23.03.2012 19:43 # +3
Quetzalcoatl 26.03.2012 14:45 # 0
guest8 09.04.2019 12:53 # −999