Gestion du retour
This commit is contained in:
parent
d52de36b19
commit
997f54ff53
@ -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);
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user