diff --git a/application/configs/application.ini b/application/configs/application.ini index 39eeae9..a134028 100644 --- a/application/configs/application.ini +++ b/application/configs/application.ini @@ -35,9 +35,9 @@ profil.db.sdv1.params.password=bj10sx profil.db.sdv1.params.dbname=partner profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8" -profil.report.username=partner144 -profil.report.password=yY2Uhp0mf5 -profil.report.montant = 21.53 +profil.report.username=mricois +profil.report.password=ju2loh6o +profil.report.montant=21.53 [staging : production] diff --git a/application/controllers/ReportController.php b/application/controllers/ReportController.php index 9bba8a5..e9d13fe 100644 --- a/application/controllers/ReportController.php +++ b/application/controllers/ReportController.php @@ -195,7 +195,6 @@ class ReportController extends Zend_Controller_Action //Test $session = new Zend_Session_Namespace('Cmd'); - $this->view->CmdID = 'test'; $this->view->Siren = $session->CmdSiren; $this->view->RaisonSociale = $session->CmdRaisonSociale; $this->view->AdresseL1 = $session->CmdAdresseL1; @@ -256,7 +255,7 @@ class ReportController extends Zend_Controller_Action $paybox->setEmail($row->email); $paybox->setReference($cmdId); $paybox->setMontant($c->profil->report->montant); - $paybox->setUrlParameters(); + $paybox->setUrlParameters("http://partner.sd.dev/report/retour"); $paybox->calculateHMAC(); $this->view->PayboxUrl = $paybox->getFormUrl(); diff --git a/scripts/build/config/local/application.ini b/scripts/build/config/local/application.ini index 7ce6924..629d361 100644 --- a/scripts/build/config/local/application.ini +++ b/scripts/build/config/local/application.ini @@ -37,6 +37,7 @@ profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8" profil.report.username=partner144 profil.report.password=yY2Uhp0mf5 +profil.report.montant=21.53 [staging : production] resources.frontController.params.displayExceptions = 1 diff --git a/scripts/build/config/sd-46528/application.ini b/scripts/build/config/sd-46528/application.ini index e9e6778..96a828d 100644 --- a/scripts/build/config/sd-46528/application.ini +++ b/scripts/build/config/sd-46528/application.ini @@ -37,6 +37,7 @@ profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8" profil.report.username=partner144 profil.report.password=yY2Uhp0mf5 +profil.report.montant=21.53 [staging : production] resources.frontController.params.displayExceptions = 1