Gestion du retour

This commit is contained in:
Michael RICOIS 2013-11-18 13:15:39 +00:00
parent d52de36b19
commit 997f54ff53
2 changed files with 3 additions and 3 deletions

View File

@ -250,7 +250,7 @@ class ReportController extends Zend_Controller_Action
$this->view->montant = $c->profil->report->montantht." € HT" . " (".$c->profil->report->montant." € TTC)"; $this->view->montant = $c->profil->report->montantht." € HT" . " (".$c->profil->report->montant." € TTC)";
//Paybox //Paybox
$paybox = new Paybox_System(true); $paybox = new Paybox_System(false);
$paybox->setUrlPaiement(); $paybox->setUrlPaiement();
$paybox->setEmail($row->email); $paybox->setEmail($row->email);
$paybox->setReference($cmdId); $paybox->setReference($cmdId);

View File

@ -173,8 +173,8 @@ class Paybox_Response
$vars = array('eta'); $vars = array('eta');
foreach ( $vars as $var ) { foreach ( $vars as $var ) {
if ( method_exists($this, 'check'.ucfirst($var)) ) { if ( method_exists($this, 'check'.ucfirst($var)) ) {
if ( $this->{'check'.ucfirst($var)}() === false ) { if ( $this->{'check'.ucfirst($var)}() === true ) {
return false; return true;
} }
} }
} }